koteno4ka
11 years agoOccasional Contributor
empy request transfer
hi all!
i need copy REST GET request to log after rest operation
i try use Properties transfer and script also:
but i got empty value at both variants.
if i try use it vs response - no problem
p/s: sorry for my english
i need copy REST GET request to log after rest operation
i try use Properties transfer and script also:
def request= testRunner.testCase.testSteps["startAuth"].testRequest.response.getRequestContent()
log.info request;
answer:
but i got empty value at both variants.
if i try use it vs response - no problem
def response= testRunner.testCase.testSteps["startAuth"].testRequest.response.responseContent;
log.info response;
answer: [i]Tue Jun 10 10:59:01 MSK 2014:INFO:{"isRegistered":true,"mnemonic":"iPhone 5s 10/06/2014 10:16:47","errorCode":0}[/i]
p/s: sorry for my english