Skip to main content

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

I was testing web services manually using Postman or REST client. I want to automate testing here. I use REST with JSON format.

Questions:

  1. How to use target URL ?

  2. How to pass header values?

  3. How to pass payload ?

Also please provide examples with code, as it will help me a lot . Thanks in advance.

Jagadeesh
  • 63
  • 1
  • 1
  • 4