Skip to main content
Share Your Experience: Take the 2024 Developer Survey
5 votes
Accepted

Suggest me the best way to automate REST web services with JSON using Java

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....
Ashwiinn Karaangutkar's user avatar
5 votes

What is the difference between api and web services testing?

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 ...
dzieciou's user avatar
  • 10.5k
5 votes

Why should we test Web service when web test automation is done?

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 ...
Bhavani's user avatar
  • 724
5 votes

Data Driven testing in Postman Tool

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 ...
FDM's user avatar
  • 5,894
5 votes

Why should we test Web service when web test automation is done?

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 ...
Nitin Rastogi's user avatar
4 votes
Accepted

Why should we test Web service when web test automation is done?

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 ...
Alexey R.'s user avatar
  • 11.6k
3 votes

Is It Beneficial For QA To Test Web Services

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 ...
Kate Paulk's user avatar
  • 31.5k
2 votes

How to call webservices through selenium

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 & ...
Narendra Chandratre's user avatar
2 votes

Possibility of using maven surfire plugin for SOAP webservice tests

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 ...
Peter Thomas's user avatar
2 votes
Accepted

Using REST Assured library for testing SOAP webservices

Yes it is possible. I have written this code and it is working form me: Created a file SoapRequestFile.xml with the content: <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/...
Ramani_naresh's user avatar
2 votes

Using REST Assured library for testing SOAP webservices

Yes, it is possible, however not necessarily easy. SOAP Web service is (usually) receiving HTTP requests with XML in the body and sending back HTTP responses with XML in the body. REST-assured can ...
dzieciou's user avatar
  • 10.5k
2 votes

Why should we test Web service when web test automation is done?

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, ...
Peter M. - stands for Monica's user avatar
2 votes

Suggest me the best way to automate REST web services with JSON using Java

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 ...
Peter Thomas's user avatar
2 votes

How to Automate web services using JMETER?

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 ...
Dmitri T's user avatar
  • 13.5k
2 votes

What are the best ways to Automate JSON POST Request using Restassured API

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 ...
Kshetra Mohan Prusty's user avatar
2 votes

Can i use RESTAssured API for SOAP Web Service Automation

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 ...
Alexey R.'s user avatar
  • 11.6k
2 votes

Why should we test Web service when web test automation is done?

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 ...
Aalok's user avatar
  • 1,732
2 votes

how do I write manual test cases for Web services and XML messages

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 ...
Alexey R.'s user avatar
  • 11.6k
2 votes

Web Service Testing Site

Try https://www.mockable.io There is a free plan that will allow you to build your own REST and Soap services and that will be enough to practice your interaction trials.
Alexey R.'s user avatar
  • 11.6k
2 votes

Why do most IT companies create their own test automation frameworks when there are so many open source frameworks available for free?

In my experience, terms like "framework" get overloaded and can mean different things to different people/roles/job titles. I tend to use "library" when talking about commericial or open source tools ...
Lee Jensen's user avatar
  • 2,231
1 vote

Why should we test Web service when web test automation is done?

Essentially it all boils down to unit vs. integration testing. Unit(component testing) is cheaper to test as it gives faster feedback which is very helpful in regression/maintenance/refactoring ...
Vishal Aggarwal's user avatar
1 vote

How to Automate web services using JMETER?

As I understood that, your requirement is to test URLs and their status codes. For this, you does not require jmeter. Even if you want to test in jmeter then you need to follow below steps, Create a ...
QAMember's user avatar
  • 1,520
1 vote

Testing web services with jmeter

There are multiple factors why your script is not simulating the expected load. No sync timers added. You might be using default heap memory. Change it to higher number. Use latest version of JMeter ...
NaveenKumar Namachivayam's user avatar
1 vote

Using REST Assured library for testing SOAP webservices

REST-assured does not have direct support for testing SOAP services, but it is possible by manually setting the SOAPAction and Content-Type headers and doing an HTTP POST etc. Then you can run XPath ...
Peter Thomas's user avatar
1 vote
Accepted

Possibility of using maven surfire plugin for SOAP webservice tests

Maven Surefire plugin can handle any tests written with JUnit or TestNG. This means whatever your JUnit/TestNG are doing, including SOAP Web servce testing, they can be run with Maven Surefire plugin. ...
dzieciou's user avatar
  • 10.5k
1 vote

Getting issue while automating SOAP service using Karate framework

Karate is working fine. Look at the error message that has come from the server and work with someone from the dev team. All the best.
Peter Thomas's user avatar
1 vote

Unable to capture Rest API's in soapui with proxy

My understanding is that you're trying to do API discovery on some website/resource/endpoint. Seems like SoapUI only offers this feature for SOAP web services. If you want to do API discovery there ...
Andy's user avatar
  • 70
1 vote

How to minimize number of connections to DB in SoapUI load tests?

Re-written based on updated question: Create a singleton pattern with the DB connection information and then call all the SOAPUI tests passing in the data connection parameters as utilized. This ...
mutt's user avatar
  • 1,693
1 vote

Jasmine web services automation "getting started" doc

Will those links below help? Jasmine Behavior-Driven JavsScript Jasmine Introduction Jasmine JaveScript testing Cheat Sheet How do I Jasmine Automate node test with Jasmine Getting started with ...
Yu Zhang's user avatar
  • 9,942
1 vote

How to use soapUI for Boundary Scan security tests?

Security Scans are what soapUI uses to identify potential security vulnerabilities in your target services. Each scan sends a number of malicious requests to your service to try to provoke and ...
div1's user avatar
  • 118

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