soapui

SoapUI: ConnectException: Connection timed out:

给你一囗甜甜゛ 提交于 2019-12-30 02:33:12
问题 i try to send request via REST. I get success response when using firefox rest-client, but in SoapUI i get exception attached below. How to resolve this issue? Thanks. java.net.ConnectException: Connection timed out: connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(Unknown Source) at java.net.PlainSocketImpl.connectToAddress(Unknown Source) at java.net.PlainSocketImpl.connect(Unknown Source) at java.net.SocksSocketImpl.connect(Unknown

Sending cookie as request header in SOAP UI request for rest web service

混江龙づ霸主 提交于 2019-12-28 13:46:29
问题 I am testing a Rest API using SOAP UI tool. First, I hit another API which gave me the jSessionid and then in my actual request I added a parameter to the request header by the name "Cookie" and provide it the above extracted jsessionid value. Everything worked fine. What I want is to somehow dynamically set the cookie/jessionid in request header without explicitly/manually doing it. How can it be done? 回答1: You can create a application session from the UI and use cookies that save the

Web Service check in SOAP UI with Session

杀马特。学长 韩版系。学妹 提交于 2019-12-25 18:24:01
问题 I have a simple web-service on .Net 3.5 in which there is a method of HelloWorld() as below [WebMethod(EnableSession=true)] public string HelloWorld() { if (Session["Count"] == null) { Session["Count"] = 1; } Session["Count"] = Convert.ToInt32(Session["Count"]) + 1; return "Hello World " + Session["Count"]; } which works in ASP.NET web-browser and IIS and returns output Hello World 1, 2, 3, 4 and soon.... depend on how much page open or refresh. After some time according to requirement of

Unique property per SoapUI request using groovy

对着背影说爱祢 提交于 2019-12-25 16:46:21
问题 I am using the open source version of SoapUI to do some SOAP Web service Load Testing. I would like each request to differ from the previous requests as much as possible, I do not want a load test with the same properties. I have a properties file which has several properties, each property value is to call a groovy script to read a random value from a file and assign it to the test case property i.e. in the value field: ${=(DynamicPropertyScript)} Script : // Load property from file def file

Oracle's jDeveloper seems to ignore declarations in a WSDL when calling an external web service?

五迷三道 提交于 2019-12-25 16:37:38
问题 Oracle's jDeveloper seems to ignore ignore declarations in a WSDL when calling an external web service and I'm not sure why...? We are trying to consume a third party web service found using this WSDL: http://tbe.taleo.net/wsdl/WebAPI.wsdl If you pop that into SoapUI and open the searchCandidate operation you'll find the request structure to be the following. Note that in1 contains an <item> node within it, which is defined in the WSDL. <urn:searchCandidate> <in0>?</in0> <in1> <!--Zero or

SoapUI opensource vs SoapUI Pro version. Is there big difference? [closed]

孤街浪徒 提交于 2019-12-25 12:43:22
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 2 years ago . I am using actively SoapUI opensource version. I test there soap services and write tests there. If anyone has already tried it out, he should know that there is a lot of manual work needed and so it is too time consuming. For example: it is not possible to update the whole test

SoapUI opensource vs SoapUI Pro version. Is there big difference? [closed]

柔情痞子 提交于 2019-12-25 12:43:08
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 2 years ago . I am using actively SoapUI opensource version. I test there soap services and write tests there. If anyone has already tried it out, he should know that there is a lot of manual work needed and so it is too time consuming. For example: it is not possible to update the whole test

Creating Classes in Groovy Script

China☆狼群 提交于 2019-12-25 08:43:21
问题 I am trying to write classes and execute wherever I need in soap UI using groovy script step. But it is showing error as : "org.codehaus.groovy.runtime.metaclass.MissingMethodExceptionNoStack: No signature of method: excel.main() is applicable for argument types: ([Ljava.lang.String;) values: [[]] Possible solutions: wait(), wait(long), find(), any(), wait(long, int), find(groovy.lang.Closure) import groovy.json.JsonSlurper import java.io.*; import org.apache.poi.hssf.usermodel.HSSFWorkbook;

how can I log the current threadcount in SOAPUI?

房东的猫 提交于 2019-12-25 08:35:01
问题 I need to create a log file from a SOAPUI load test that shows the threadcount at 1-second intervals. The file needs only a timestamp and the threadcount, and can be CSV or any other format really. I can't see a way to get just this info from the predefined log files. Is a Groovy script step the right way to do this? How would I write it? I could have a test case that does nothing but writes the log message every second while the "real" cases are running concurrently, but I don't know how to

Automation tests using Cucumber, SoapUI and Selenium

时光总嘲笑我的痴心妄想 提交于 2019-12-25 07:39:00
问题 I'd like to use Cucumber linked with SoapUI and Selenium in order to create an automation functional test. I only found one website about it, describing that first I have to create a SoapUI project and save it as a .xml file. Then I should include this file into the test project using Cucumber and Selenium. My first question is what configuration do I have to do for that ? (in the pom.xml file when using Maven for example or in any configuration file for Jenkins) My second and last question