Change a Test Rest Request's link to project's request? "Open Request Editor"
Hello, The problem is that we initially set up each project's Rest Service as a newelement. Now we find that we should have had fewer elements and just add the Ressources etc under one if the endpoint is identical. In SoapUI Pro we have defined a project and several TestSuits each having several Testcases with several Rest Requests linking back to the project. But I cannot find anyway to change the link from the SoapUI window elements back to the project window elements, am I missing something here? :) Thanks for any help understanding this.2.4KViews0likes7CommentsMultiple endpoints in one instance
I am quite new to service virtualisation but I have this issue: Our company has 100+ web services (multiple endpoints). We have set everything into a single port. In this case, the default VirtServ port of 8088. We need to run these services in parallel but it seems 1 service can only run per VirtServ. So, it works 1:1. I initially thought the use of VirtServ is that you can run multiple instances/services at one time as long as the ports are the same. Obviously, there will be cost implications if we run all 100+ services at a time then it means we need 100+ VirtServ as well. Would anyone know any workaround this issue?Solved1.4KViews0likes1CommentEndpoints for SoapUI 5.5.0
I created a project for development environment and loaded several WSDL. I want to point to test environment. How do I change the endpoints universally without creating another project for test environment. I am using SOAPUI 5.5.0 free verison. Thanks. MaiSolved1.3KViews0likes3Commentscustom properties for endpoints only working with default environment?
I have a rest project and we have two custom properties defined at the project level - endpoint and securedEndpoint as some of our web services require https and thus use a different endpoint. When using the default environment, all is fine. When I create a new environment and copy all properties, and update the endpoint and securedEndpoint custom properties to have the correct values, all of my tests that require the https endpoint fail. For thesewebservice requests, when the default environment is selected, the endpoint value for that teststep shows ${#Project#securedEndpoint}. When I switch to any other environment, it shows${#Project#endpoint}. What can I do so that${#Project#securedEndpoint} will be used correctly when neededfor all environments? We want to run our project against several environments and we do not want to update the custom variables every time.1.2KViews0likes2CommentsGetting 500 when running a test step from Java
I have a test suite with one test case which has three test steps. I can run the first test step from SoapUI just fine, but when I load the project from a Java class, I see debug messages with an HTTP 500 and a strange connection IP. Then there's an IOException. Here's my code: WsdlProject project = new WsdlProject("Resources/SOAPService-soapui-project.xml"); WsdlTestCase testCase = project.getTestSuiteByName("TestSuite 1").getTestCaseByName("TestCase 1"); WsdlTestStep driver = testCase.getTestStepByName("Driver"); StringToObjectMap properties = new StringToObjectMap(); properties.put("requestBody", null); properties.put("expectedVendorCode", null); properties.put("expectedInternalCode", null); properties.put("currentTime", null); WsdlTestCaseRunner runner = new WsdlTestCaseRunner(testCase, properties); runner.runTestStep(driver); Here's the log and stack trace: [HttpClientSupport$SoapUIHttpClient] Attempt 1 to execute request [SoapUIMultiThreadedHttpConnectionManager$SoapUIDefaultClientConnection] Sending request: POST /web_services/services/specific_service HTTP/1.1 [SoapUIMultiThreadedHttpConnectionManager$SoapUIDefaultClientConnection] Receiving response: HTTP/1.1 500 Internal Server Error [SoapUIMultiThreadedHttpConnectionManager$SoapUIDefaultClientConnection] Connection 0.0.0.0:65124<->216.58.218.206:80 shut down [SoapUIMultiThreadedHttpConnectionManager$SoapUIDefaultClientConnection] Connection 0.0.0.0:65124<->216.58.218.206:80 closed java.io.IOException: Decompression of response failed at com.eviware.soapui.impl.wsdl.submit.transports.http.HttpMethodSupport.getResponseBody(HttpMethodSupport.java:321) at com.eviware.soapui.impl.wsdl.submit.transports.http.support.methods.ExtendedPostMethod.getResponseBody(ExtendedPostMethod.java:133) at com.eviware.soapui.impl.wsdl.submit.transports.http.BaseHttpResponse.<init>(BaseHttpResponse.java:92) at com.eviware.soapui.impl.wsdl.submit.transports.http.SinglePartHttpResponse.<init>(SinglePartHttpResponse.java:46) at com.eviware.soapui.impl.wsdl.submit.transports.http.support.attachments.WsdlSinglePartHttpResponse.<init>(WsdlSinglePartHttpResponse.java:40) at com.eviware.soapui.impl.wsdl.submit.filters.HttpPackagingResponseFilter.wsdlRequest(HttpPackagingResponseFilter.java:75) at com.eviware.soapui.impl.wsdl.submit.filters.HttpPackagingResponseFilter.afterAbstractHttpResponse(HttpPackagingResponseFilter.java:52) at com.eviware.soapui.impl.wsdl.submit.filters.AbstractRequestFilter.afterRequest(AbstractRequestFilter.java:68) at com.eviware.soapui.impl.wsdl.submit.transports.http.HttpClientRequestTransport.sendRequest(HttpClientRequestTransport.java:295) at com.eviware.soapui.impl.wsdl.WsdlSubmit.run(WsdlSubmit.java:127) at com.eviware.soapui.impl.wsdl.WsdlSubmit.submitRequest(WsdlSubmit.java:80) at com.eviware.soapui.impl.wsdl.WsdlRequest.submit(WsdlRequest.java:242) at com.eviware.soapui.impl.wsdl.teststeps.WsdlTestRequestStep.run(WsdlTestRequestStep.java:419) at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.runTestStep(AbstractTestCaseRunner.java:239) at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.runTestStepByName(AbstractTestCaseRunner.java:224) at com.eviware.soapui.model.testsuite.TestCaseRunner$runTestStepByName.call(Unknown Source) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116) at Script1.run(Script1.groovy:11) at com.eviware.soapui.support.scripting.groovy.SoapUIGroovyScriptEngine.run(SoapUIGroovyScriptEngine.java:100) at com.eviware.soapui.impl.wsdl.teststeps.WsdlGroovyScriptTestStep.run(WsdlGroovyScriptTestStep.java:154) at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.runTestStep(AbstractTestCaseRunner.java:239) at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.runTestStep(AbstractTestCaseRunner.java:229) at futzing.SoapUIRunner.main(SoapUIRunner.java:32) What am I missing in the setup?1.2KViews0likes0Comments