Contributions
How can I pick test case property inside a command line
For example, this is the snippet def foldername =context.expand( '${#TestCase#folderName}' ) def cmd='"aws s3 cp s3://<bucketName>/<folder>/' +foldername.toString() '<folderPathtoCopy>/' + foldername.toString()' --recursive"' def command='"C:/Program Files/Git/git-bash.exe" -c '+cmd def proc = command.execute() proc.waitForOrKill(100000) I want to download a folder from S3 which is upload by the foldername stored in test case property. foldername changes dynamically. I know there is some syntax errors but not able to solve it492Views0likes0CommentsRe: Create json in Groovy
Olga_T- Sometimes, before spamming you should understand that someone might be on a vacation and have no access to reply. Please wait for sometime for OP to respond. As far as the solution, its good and thanksnmraofor the solution.5 years agoPlace ReadyAPI QuestionsReadyAPI Questions4.5KViews0likes1CommentCreate json in Groovy
Need to create Json like this "data": { "data1":"data1", "data2":"data2" } } I'm able to create the below one but not the above one. I'm usingdef json = new JsonOutput().toJson(obj) for the below { "data1":"data1", "data2":"data2" }Solved5 years agoPlace ReadyAPI QuestionsReadyAPI Questions5KViews0likes10CommentsStop Redirect and break the request to stop at 303
My Client calls the server and the server calls the third party. Right now, I'm not able to stop the redirect and in the response I get the reponse generated by third party. Postman has an option to toggle on/off follow redirects. Is there anything similart in Ready API 2.6?Solved6 years agoPlace ReadyAPI QuestionsReadyAPI Questions2.2KViews0likes2CommentsRe: Ready API adds extra characters in query parameter
There is nothing wrong in the endpoint as its common to all the API's. Manually its working fine but by doing this Ready API, its failing. the URL changes while using Ready API6 years agoPlace ReadyAPI QuestionsReadyAPI Questions2KViews0likes2CommentsReady API adds extra characters in query parameter
my request looks like https://abc.com/xyz?xyz=http://abcndsndjnd.com/djjd.jsp But when I call via Ready API it looks like ${#Project#Endpoint}/xyz?xyz=url not when I call this, Ready API encodes and adds extra params which breaks the URL. What should I do to prevent this? The URL becomeshttp%3A%2F%2Ftest.....Solved6 years agoPlace ReadyAPI QuestionsReadyAPI Questions2.1KViews0likes4CommentsRun test step multiple time and log response time
My requirement is to run the same test step 100 times and log its response time. I want to check the response time of each run. The below code didnt help me inside a for loop. log.info "Time taken" + testRunner.testCase.testSteps["Request1"].testRequest.response.timeTaken6 years agoPlace ReadyAPI QuestionsReadyAPI Questions743Views0likes1CommentWant to see whole Json response of API while running through Jenkins
When I do console output, I only see the request URL and Response status code in jenkins. Do I have to do anything more to see full Raw request and Raw response in Jenkins? Currently, I'm getting. I need the full raw request and raw response. Sending request: POST xx/xxx/xxx HTTP/1.1 21:18:36,317 DEBUG [SoapUIMultiThreadedHttpConnectionManager$SoapUIDefaultClientConnection] Receiving response: HTTP/1.1 201 21:18:36,317 DEBUG [HttpClientSupport$SoapUIHttpClient] Connection can be kept alive indefinitely 21:18:36,356 INFO [SoapUITestCaseRunner] Assertion [Valid HTTP Status Codes] has status VALID 21:18:36,358 INFO [SoapUITestCaseRunner] Assertion [Script Assertion] has status VALID6 years agoPlace ReadyAPI QuestionsReadyAPI Questions884Views0likes2Comments