ContributionsMost RecentMost LikesSolutionsRe: OAuth 2.0 Ready API Security Tests unable to get Token Hisonya_m, I'm completely stuck due to this issue. I cannot run my automation scripts. For temporary, I have to create my scripts in some other tool now. Thanks and Regards, Jagruuti Re: Is it possible to debug the event handler code? Hirichie, 1) Nothing comes under the script log as shown in the first screenshot. 2) I have the jre folder though I'm able to debug it (Was this the same thing you were mentioning about?). I need to make the appropriate changes in the Groovy script to suit the test steps. Will update once I'm done. Note: I cannot perform the second step as the request has suddenly stopped producing access tokens. Has raised a support ticket for the same. Will update once it is solved and I can try out your second solution. Thanks for your help! Regards, Jagruuti Re: OAuth 2.0 Ready API Security Tests unable to get Token Hisonya_m, I'm facing the same issue. It's been a week that I have raised a support ticket yet no response has been received. Thanks and Regards, Jagruuti Re: Transfer step gets hanged while executing the whole test case HimanshuTayal Yes, it worked! Thanks 🙂 Regards, Jagruuti Re: Transfer step gets hanged while executing the whole test case HiHimanshuTayal, I'm using the below code: This is the code that I have been using it initially. def LeadId = context.expand( '${Create lead #Response#$[\'Id\']}' ) log.info(LeadId); testRunner.testCase.getTestStepByName("Get ID ").setPropertyValue("Id ", "LeadId"); Let me know if you need any more details. Thanks and Regards, Jagruuti Re: Transfer step gets hanged while executing the whole test case HiHimanshuTayal, Thanks for your help. I tried referring the below link at first- https://support.smartbear.com/readyapi/docs/testing/scripts/samples/headers.html But that gave me an attached error in JavaLangNullPointerException.PNG Then I tried with the link that you have given me. I could see that there are 4 codes in it. I tried with the first three solutions or codes, I got similar errors in attached GroovyLangError.PNG, GroovyLangMissingProperty.PNG and GroovyLangMissingProperty3.PNG And with the 4th code, I got this error in the attached Error.PNG Is it possible to debug the event handler code? I'm trying to execute the complete test case. My test case gets failed at the last step where I have used the event handler code to check if my authorization token has got expired or not. If it is expired, it creates a new one. If it is not- it continues with that old token. My test case gets hanged at the last step. I think that it might be because of the use of while loop in the event handler code. But the execution shows it is getting hanged at the Transfer step. but when I verify that in the individual step, I find that the value has already got transferred in the last step. So I think it might be the issue with the last step. I tried debugging using the Step-by-Step Run feature but there also it gets hanged and I cannot take much inference from there as shown below Re: Transfer step gets hanged while executing the whole test case HiHimanshuTayal I'm using a groovy script to transfer property from one request to another request. I'm able to extract the property from one request inside groovy, but unable to transfer that to another request, though I have written the below code: def LeadId = context.expand( '${Create lead #Response#$[\'Id\']}' ) log.info(LeadId); testRunner.testCase.getTestStepByName("Get ID ").setPropertyValue("Id ", "LeadId"); I want to set the property in the request header of another request. Please find the attached screenshot for reference. Transfer step gets hanged while executing the whole test case I'm trying to execute the whole test case. ReadyAPI gets hanged at the Transfer property step though it gets executed when it is run individually. I also tried executing the whole test case for multiple iterations, but it got hanged at the second iteration. And when I restarted the ReadyAPI and tried again, it is getting hanged at the first iteration itself. Please find the attached screenshot for reference. SolvedRe: Cannot perform OAuth 1.0 operation having the authorization variables in terms of String values. Hirichie,sonya_m Yes, DEV team has provided me with the hardcoded values. So I directly used the Authorization value from the Postman in the header of the HTTP request in ReadyAPI. I'm getting the below error, if I'm trying to follow the above method. HTTP/1.1 403 Forbidden Date: Tue, 18 Aug 2020 05:37:39 GMT WWW-Authenticate: OAuth realm="******" Content-Length: 71 Set-Cookie: NS_ROUTING_VERSION=LAGGING; path=/ P3P: CP="CAO PSAa OUR BUS PUR" Vary: User-Agent Keep-Alive: timeout=10, max=998 Connection: Keep-Alive error code: INVALID_LOGIN_ATTEMPT error message: Invalid login attempt.