We’re rewarding the question askers & reputations are being recalculated! Read more.

Hot answers tagged

8

As for tutorials on SoapUI, sadly the majority of them are sub-par at best and out of date. If you want to learn SoapUI the best option is likely to jump in feet first and hit the ground running. My background is primarily API testing, with a specialty with SoapUI and Groovy, so I will try and give some hints and pointers to get you started. SoapUI's core ...


7

Instead of using SQL scripts, I would recommend using something like dbUnit for importing your test data. dbUnit will generate database dumps in XML format (this will also allow you database-independent test data). The advantage is that you can write (build) scripts that will import the dbUnit datasets, run the database update SQL scripts on them (if you ...


6

The answer is similar to real world examples, both Motor Cycle (2 wheeler) and Car (4 wheeler) provides approximately same speed and can carry a person from one place to another, so why two (or in actuality more than two) types of vehicles are there and that too with further classifications (different brand designing different vehicles) i.e. because each ...


6

Well, an API is such a loaded term. It can be REST, SOAP, RMI, or native C++ library API, etc., so the tooling will depend on that. Particular test scenarios will depend on that as well. For instance, for REST or SOAP over HTTP you may want to check popular HTTP-related attacks like HTTP Response Splitting, etc. You may also check if API is well-defined, e.g....


6

In general your answers were valid. But to create a better impression you could communicate the points which show you have deeper understanding of APIs and API testing. You can mention about web services, APIs REST, SOAP, WSDL, XML, JSON, different methods (POST, GET, DELETE) etc so they get the perception that you have technical understanding of these ...


5

SoapUI supports something called "properties" which are essentially the variables you asked for. After setting a property, whether manually or by a Groovy script, properties can be included in your individual test steps. SoapUI will expand a properties reference to whatever the property's value is. Property references look like this: ${property_name}. ...


5

The link for the WSDL appears to be invalid. Try using a different WSDL e.g. http://dic.googlecode.com/files/GoogleSearch.wsdl


5

Personally I would write a test data generator that generates unique test data and pushes into the database via a direct api call as part of the setup for each test. That way you can run multiple tests in parallel and can scale up your automated test execution. From my experience, if you are using SoapUI, you probably should be calling the applications API'...


5

Both fit your requirements so feel free to choose the one you like more. The only area where JMeter is better is running load tests, SoapUI has limited load testing capabilities and reporting (you have only mix, max and average response time per request) while JMeter tests can scale to run in clustered mode and you can have HTML Reporting Dashboard with a ...


4

Yes, this is typically done in a commercial context, but it does not need to be exactly as described. As you already noticed, developers should write unit tests. Those tests as you probably know only test the smallest distinguishable things in the code. Higher up there should be integration tests - either as an extension to the unit tests or maybe in the ...


4

If you do not have a lot of programming skills you can just run command line utilities like CURL. Here is the post on SO describing how to send a single SOAP request having XML file. Above example explains how to send a single request. However you have 1000 requests, hence you would need to prepare some shell script (bash or batch or powershell or something ...


4

👍Pros of coding: You can easily integrate your test into CI process You can code any assertion logic you need in your tests You can utilize any library that is suitable for your chosen coding platform You can flexibly manage your test data You can build whatever test report you want 👎Cons of coding: It requires coding skills 👍...


3

We use Postman for considerable basic testing during the early stages of development. We then have used Gatling (http://gatling.io/#/) to facilitate load, regression, and stress testing.


3

What questions should I ask the developers so that i can proceed with automating? It depends what kind of test you want to have, if it is only end2end testing then "Base URI" should be enough for you. If you need to test more than that (e.g Tests which need mocking), you may need to have access to the project code to add your test code there. For ...


3

I accomplished a similar thing by running the SoapUI tests within the Maven Build http://www.soapui.org/test-automation/maven/maven-2-x.html one of the outputs is "junitReport : Turns on creation of JUnit-reports, (true/false)" which will then let you use any of of the million JUnit graphing tools. Hope that helps in finding your solution


3

Is the slowness on the app a result of the sum of these 3 requests: around 7000ms ~ equal 7s? (It is still way much lower than 17s on real device) Yes That is most likely the cause of your issue. The application likely catches and retries when it times out which will give you these very long times. It sounds like there is some severe issues, most likely in ...


3

Actually, I can see two questions in your post. Is it better to test SOAP Web services backed by EJB using Java or C#? Actually, Web service stack of technologies was designed to support interaction between application written in different technologies, so it does not matter how the Web service was implemented. I.e., Web service implemented in Java can by ...


3

This is what I found from the Mobilefish quick guide: The Countries web service is permanently disabled because this service is being misused.


3

Here is how I would do it. Looks like you made a trivial mistake in the xpath. Here is how the test case is defined with following test step names. Soap Request Test step named as Test Request Property Transfer Test step Second Soap Request Test step named as Test Request2 Here is how Property Transfer test step is defined. Added a property using by ...


3

Maybe just use plain JUnit tests? I think JMeter and SoapUI just add an extra layer of complexity. For example making it more complex to schedule the tests. Using JMeter and SoapUI might seem easier for less technical testers, but in my experience these tools are pretty awful in their design. Most functionality can easily be implemented with plain code. ...


3

why companies would have both API tests and web tests when this causes duplication of effort. In short, because those tests are different in nature, help discover different types of bugs and have different properties. End-to-end tests, e.g., tests operating on UI level of a Web application have two main advantages: they simulate a real user: this helps ...


2

Got an answer from the SoapUI forum: depends where "do the variables belong" - you choose a scope eg. custId (i believe it is sth like customerID) in TestCase scope, if you need the custId visible in all teststeps Lets have the example on TestCase scope - you go to Custom Properties tab in soapui (left bottom corner), create there a property (...


2

This option is only available in the PRO version of SOAP UI. The license costs around 300 dollars a year. You can have the data in an excel sheet and map the columns in the request; Loop it so that the test runs until all the rows in excel sheet are read and executed. You can export the response to a CSV or excel sheet. You might also find this useful: ...


2

It seems Countries WSDL path is wrong. You can try TempConvert Wsdl as an example in W3Schools Web site: http://www.w3schools.com/webservices/tempconvert.asmx?wsdl When you load the wsdl from SoapUI tool you will see 2 operations belongs to this web service: CelciusToFahrenheit FahrenheitToCelsius


2

In this situation, we are using the approach exposed by Bruce McLeod. We use a data generator to produce 4 datasets from the same configuration defined by the test case: the input data for the test (run manually or with qtp) to fill gui forms for example, the data inserted before test with soapui in the application to create the customers on which the ...


2

You are on the right path with the "clean sheet" approach. It would be best if every test runs on empty database and it fills in data in the database as a part of its own fixture. But if you find yourself using a lot of the same kind of the data for a bunch of tests, then a XML import file would be best. Your testsuite should clear the database before each ...


2

welcome to SQA. One thing that it looks like you are not taking into account is the network speed of the device you are testing on. If you are running load runner on a network that has high internet connection speeds, or more probably is on the same network as the service you're testing, then you will get almost no additional time due to network latency, ...


2

You can "cheat it" by using a groovy script to perform your conditional go to Assuming you put your values into properties called Properties; import com.eviware.soapui.model.testsuite.TestRunner String incrementvalue = context.expand( '${Properties#incrementvalue}' ); //convert to int as properties are strings by default int convertedincrementvalue = ...


2

You can check this great blog: http://www.softwaretestinghelp.com/web-services-api-testing-tool-soapui-tutorial-1/ Second you can check the free courses here: http://soapui-tutorial.com/


2

Runscope provides a Web UI for creating tests. There is no code to write for standard assertions. You can write more complex assertions using Javascript. It is a cloud based service, which allows tests to be run from data centers around the world, which is useful when testing response times. You can also use our local agent to test APIs that are behind ...


Only top voted, non community-wiki answers of a minimum length are eligible