Contributions
- 12 years agoPlace ReadyAPI QuestionsReadyAPI Questions771Views0likes0Comments
- 930Views0likes0Comments
- 12 years agoPlace ReadyAPI QuestionsReadyAPI Questions771Views0likes0Comments
how to run two test steps async?
Hi I currently have a little problem with soapui. I have a standard set of test steps which all work great. Now, I also need to check a 2nd server async and use the response from that server in my other test steps. So to break it down a bit, it looks like that: 1. request to server2, wait for reply 2. request to server1 -> 200 2. request to server1 -> 200 .... now at some point, a request which is made to server1 will trigger server2 to respond to the initial request. I take that response and parse it etc. My problem is, that SoapUi does always wait for a previous step to finish. I already tried to create a new thread with groovy which should handle the requests to server2, but the test suite also waits for that request to reply. How can I implement an independent test step which does not cause the whole suite to wait? best regards, nim1KViews0likes0Commentsbinary data in request body is not completely sent
Hi, version: soapUI 4.5.1.1-SNAPSHOT test-code: def nFile = new File("thumbnail1.jpg") String image2bin = nFile.getText() testRunner.testCase.getTestStepByName("UploadThumbnail").getProperty("request").setValue(image2bin) log.info image2bin.length() In my case, the image file is 10148bytes (also shown in log.info), but after the request to a rest interface, only 10033 bytes are sent to the server. This of course leads to corrupted images. best regards, nim1312 years agoPlace ReadyAPI QuestionsReadyAPI Questions2KViews0likes2Comments