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

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 ...


5

If you would love to test REST API then I would recommend you to use Rest Assured which is a Java Library. It’s better to create Page Object Model and use Testing Framework like TestNG to write tests. Along with the main library ( REST ASSURED) that you can use for testing REST API. Below is the official guide for the same: rest-assured/rest-assured OR ...


5

Update I have tested with a simple CSV file and it indeed alters the iteration count automatically. So my suggestions for you are: update Postman to latest version if not yet done so double-check your CSV, is the data in a correct format? I think this is a probable cause. Can you share it? Original answer In Postman, go to the menu Collection and select ...


5

Web service testing independently is needed to ensure the API calls working as expected independent of the web page. In this way, we can confirm that the API calls are working as expected irrespective of the web page elements/functions.


5

There are many points where tester doesn't feel confident about the application. When a tester performs Automation testing there may be many challenges so web service testing is still very important to know what they need to do, rather than doing it first to learn costly lessons later. The trick is to have an automated tool which can shorten the testing of ...


4

Public websites do not want you to run your performance test against them. In fact, there is a name for that situation: it's called an attack, and you could get into legal trouble for it. If you want to run a performance test, set up your own website. (For your purposes, you can probably run the web server on the same machine as your test code.)


4

Theoretically you can use -X parameter so traffic will go through squid, however interpreting the results won't be that easy. I would choose one of the following tools: Gatling Grinder Tsung Apache JMeter See Open Source Load Testing Tools: Which One Should You Use? guide for more information on above options including sampler load reports. Given you'...


4

The difference between testing APIs and testing Web services stems from the difference between APIs and Web services. So, according to Wikipedia: An application programming interface (API) is a set of subroutine definitions, protocols, and tools for building application software. Intuitively, Web services are APIs available over the Web. However, again ...


4

Actually you should test web application after your WebService testing is done. Web Service is an architectural pattern that just allows you to invoke the functions remotely using a widely known HTTP protocol standard (unlike some other remote functions invokations approaches). That is why the client (in your case - a web page) is just one of the possible ...


3

Based on your question I'm assuming: You want to know the distinction between web services, APIs, as well as REST and SOAP Whether the technical implementation of these matter to you when it comes to testing in a black box capacity So lets start with some definitions: Web services and APIs: I always like the W3C description of a web service: 'A Web ...


3

Fiddler is a proxy that lets you view all network traffic, like WireShark. SoapUI is a full fledged testing tool. My recommendation is to try POSTman. It's a free API testing tool, you can save your test into collections if you need to reuse them. I use POSTman for my initial testing and then use a CSV + PowerShell (using the HttpClient from .net 4.5+) ...


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

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

The super-short and blunt answer: It depends on the service. It depends on the service. It depends on the service. It depends on the service. Now the details. Manual testing of web services If the service has a published API you can test it manually with tools like Postman by building requests and inspecting responses. There may be other manual ways to ...


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

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 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

Karate is a relatively new project that is specialized for testing JSON web-services and it runs on the JVM. Disclaimer: am dev. There are a set of demos and examples that will get you started very easily. One of the highlights of Karate is the "native" support for JSON and being able to perform a "deep equals" on two payloads.


2

It depends. If you're testing a GUI that interacts with some back-end service, and your only concern is that what you enter in the GUI gives you the expected outcome when the service is done, it doesn't matter what type of back-end service is used (An example might be testing credit card authorization in your system with a new protocol - you don't care how ...


2

I want to know if there are any differences in these technologies from black-box testing perspective. If Yes, then what are the differences? Serializing/deserializing messages. SOAP Web services define message format through WSDL standard, so it is easy to automatically generate client stubs from it. There's a similar standard, WADL, for RESTful services, ...


2

Why you wanted to use Selenium to call web-services? Selenium is not made for it. You can try few things using webdriver actually. Many have already used Java + selenium webdriver to call & interact with webservices. check here for example


2

Use HTTP Request sampler to perform initial call to the web service endpoint. You may also need to have HTTP Header Manager to send the relevant Content-Type header Use JSON Extractor to extract the above URLs and convert them into JMeter Variables Use JMeter Variables in the following HTTP Request samplers to check the URLs. Response code can be verified ...


2

Take a look at Karate which easily integrates into a standard Java / Maven project. You can actually generate the standard JUnit XML report format which most CI tools understand. Or you have the option of integrating 3rd party reports via Maven. The test execution is via the Maven surefire plugin. And yes, Karate has excellent support for SOAP and XML. ...


2

Many different webpages can use the same web service. So you need to test both: your webpage (as user can use it) your web service (as any other web page can use it - or your webpage in the future, after redesign)


2

Web Services should be tested before testing the functionality via the user interface. As per one of the articles that I read about web service testing; 70% of testing related to any functionality can be considered as Done if web services related to that functionality have been thoroughly tested. Reasons for doing the web service testing prior to ...


2

You can, however that would be quite a tricky thing, since you will have to take care of forming request body (envelopes) and parse the responses in order to make your requests comply with SOAP protocol. But initially RESTAssured is not intended to work with web-services. If you use Java I would recommend you to use one of the following ways to generate ...


2

You need to apply the below areas to your framework: The body for the POST call should be coming from a model file. Use a java serialization/de-serialization library like jackson or Gson to achieve this, although RestAssured has this feature. Creating complex json becomes easier. Create a RequestSpecBuilder to create the POST call, so that you can reuse ...


2

Take Soap UI Generate a project using the URL to WSDL file of your service Now you get the "local" methods to invoke all the "remote" methods of your web service Analyze what data do the methods accept and what data do the methods return Apply common black-box test design practices and requirement specification of your service to prepare a particular test ...


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