Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Basic Authentication

Not applicable

Getting the following:

"fault": {"faultstring": "Unresolved variable : username","detail": {"errorcode": "steps.basicauthentication.UnresolvedVariable"

Target URL that runs fine from Postman with Basic Authentication: https://rs28:14081/dvs/DATA/DB2.STAFF/GETall

KVM:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <KeyValueMapOperations async="false" continueOnError="false" enabled="true" name="Key-Value-Map-Operations-1"> <DisplayName>Key Value Map Operations-1</DisplayName> <Properties/> <ExclusiveCache>false</ExclusiveCache> <ExpiryTimeInSecs>300</ExpiryTimeInSecs> <Get assignTo="username" index="1"> <Key> <Parameter>ts5837</Parameter> </Key> </Get> <Get assignTo="password" index="1"> <Key> <Parameter>xxxxxx</Parameter> </Key> </Get> <Scope>environment</Scope> </KeyValueMapOperations>

Basic Auth:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <BasicAuthentication async="false" continueOnError="false" enabled="true" name="Basic-Authentication-1"> <DisplayName>Basic Authentication-1</DisplayName> <Operation>Encode</Operation> <IgnoreUnresolvedVariables>false</IgnoreUnresolvedVariables> <User ref="username"/> <Password ref="password"/> <AssignTo createNew="false">request.header.Authorization</AssignTo> <Source>request.header.Authorization</Source> </BasicAuthentication>

0 12 963
12 REPLIES 12
Top Solution Authors