Contributions
Re: Change location of Virt-service
Hi! Yes, you are right! My application is deployed as docker container so it is treated as external client. So in my case I need to go either with VirtServer...or forget about SoapUI and test it using other tool :(9 years agoPlace ReadyAPI QuestionsReadyAPI Questions3.4KViews0likes1CommentSharing context properties between TestRunContext and Mock
Hi Is there a way to get values stored in TestRunContext in MockRunContext ? I create an ArrayList which I initialize in SetupScript section and store it in context like that def requestList = new ArrayList<String>(); context.put("RequestList", requestList); But I am going to put some values into this requestList in Mock-OnRequest script section. Is there a way to get that value? Misja1.2KViews0likes1CommentHow to handle requests sent to mock in parallel
Hi, we have the following solution. Applicaiton based on Mule takes txt-file, parse it and sends WS-requests in parallel. I receive these these requests on mock and trying to count how many of them was sent. I put simple counter code in OnRequest section of mock. But since these requests are sent in parallel I have never got correct number. There is a situation happen when two requests come simultaneously and my counter is not updated properly. Please help what can I use to handle this kind of situation Thanks in advance Misja763Views0likes0CommentsExit data-driven loop
Hi! I am using data-driven loop to find the data to insert in DB and once required dataset is found I would like to stop the loop and exit since it is time-consuming. I have tried to add 'break' statement using CodeSnipet but got a 'Syntax error' exception. How can I exit data-driven loop properly? Thank you2.5KViews0likes1CommentTestComplete hangs on exit
Hi! Have anyone seen such problem before? When I working with TC and then try to close it it just hangs and become into NotResponding state. It is not big problem when I running test from TC. since I can just kill the process afterward. But it makes impossilble to run tests on the server, since test can;t be copleted while TestExecute process is still running. Do you have any solution for that? TestComplete Version: 9.0.1312.717KViews0likes1CommentRe: Set MockOperation script using groovy
I have found a solution - the method that sets script for operation is setDispatchPath. For me this method name is confusing. But in any case - I am happy to find it for(WsdlMockOperation it: arrOperations) { it.setDispatchStyle("SCRIPT"); it.setDispatchPath("log.info('This is my script')"); }786Views0likes0Comments- 788Views0likes0Comments