API Testing/Automation Interview Questions [Part 2]

1. What is an API?
2. Whats the diff between Rest vs SOAP
3. What are the different http methods
4. What are the different status codes and when will they occur?
5. what are the different ways you validate XML response?
6. What are the different ways you validate rest api response
7. How do you use POJO’s? Sample POJO code for a Json
8. How do you pass payload to rest api call during automation?
9. Explain your automation framework?
10. Explain challenges that you face during automation of rest api’s
11. What are the diff types of testing you do with an API
12. What is the diff between regular calls vs oauth calls?
13. How do you test security testing using API’s
14. How do you do performance testing with API’s
15. what is the different between Put vs Patch

Click here to Read Rest- Assured API Testing Automation Interview Questions

– Questions shared by Mr. Hari.

Happy Testing


Download android app Software Testing – Full Stack QE / SDET and get the early access.


 

Clavent’s Flagship Event TESTCON Goes Virtual in 2020!

Clavent’s Flagship Event
TESTCON Goes Virtual in 2020!

Testcon2020

Clavent, an India based global conferences company, has been hosting their flagship event TESTCON across the world for the past few years in countries like India, Australia, Singapore, Philippines, UK and more. Considering the COVID-19 outbreak, Clavent has cancelled all their physical editions worldwide and is hosting one global virtual edition of the conference TESTCON VIRTUAL SUMMIT on 25th-26th September. The conference will reportedly be hosting 400+ attendees from 20+ countries and 25+ speakers from around the world to discuss the disruptions and latest buzzwords in software testing. The virtual conference will allow real-time interaction and seamless networking experience with speakers and fellow delegates. The platform will try to recreate all the elements of an offline conference in an online environment.

During the two days of virtual talks and discussions, attendees will discover industry secrets and gain a new cache of knowledge about the latest in Test Automation. Clavent has secured an outstanding lineup of talented thought leaders and influencers from the industry like; Pradeep Soundararajan from Moolya; Gaurav Mahajan from Contentserv; Ajay Balamurugadas from Qapitol QA; Rahul Prasad from Bobble AI; Bilal Ahmed from Tricentis; Ketan Joshi from Deutsche Bank; Laveena Ramchandani from Deloitte UK; Divya Vaishnavi from GitHub; Sumit Mundhada from Vodafone (_VOIS), Silvia Ohr from ASX Australia; Vikas Mittal from Forbes; and more

“We have been hosting TESTCON in more than 8 countries around the world but this year, with the COVID outbreak, the entire industry has taken a hit and there have been major layoffs and shutdowns but we as an organisation are adapting to the situation and organising virtual conferences. I personally believe, it’s really tough to recreate the experience of an offline conference into a virtual/digital realm but we have been hosting virtual conferences across the year and we tried to recreate a decent virtual platform to enable learning and networking. We really wanted to continue to do our job of facilitating a platform to showcase the best in software testing and test automation and thus, a virtual conference!” said Sneha Betharia, Director of Clavent.

The conference is set to take place this week on 25th and 26th of September starting 10 AM IST. For more information and to register for the Testcon 2020 conference, http://bit.ly/testcon_2020. Join pre-conference discussions and thought topics on twitter (@calventevents #Testcon2020) and facebook (@ClaventEvents). For any other enquiries, please mail on contact@clavent.com

Register Now (http://bit.ly/testcon_2020) & Get Flat 20% Discount on tickets. Use code [STT20]

Rest- Assured API Testing Automation Interview Questions

  1. What is difference between API and WebService.
  2. What is difference between SOAP & Rest API.
  3. Can you write a sample of API(URL) and JSON.
  4. How do you handle Authentication token.
  5. How many type of Authentication in POSTMAN/ Rest-Assured.
  6. What is difference between OAuth1.0 and OAuth2.O ,When and where do you use and how. Can you write a sample code.
  7. What is baseURI in RestAssured.
  8. Can you explain RequestSpecification request = RestAssured.given();
  9. What will be returned type of response.jsonPath().getJsonObject(“XYZ”);
  10. How do you extract the values of JSON and how do you validate response.
  11. Can you write a code of save the response in a JSON file.
  12. How do you validate headers of response.
  13. What is difference between Headers and Header class.
  14. What is difference between response.header(“xyz”) and response.headers() methods.
  15. Can you extract all the headers from response at run time.
  16. What is JSONObject() , request.header(“xyz”), response.path(“lable”) , response.body().asString() , response.getBody().prettyPrint(); , RestAssured.given().queryParam(“xyz”,”abc”);
  17. What is difference between request.get(“https//dev-mode.com/api/allcustomers”) and request.request(Method.GET,"/ allcustomers ");
  18. What is difference between PUT and Patch . Have you ever used and where.
  19. What are status code(2xx ,3xx ,4xx, 5xx) in API.
  20. How do you print your response in JSON format.
  21. How do you post body in POST and how many way to post.
  22. What all are the dependency for Rest-Assured.

Click here to Read API Testing Interview Questions

– Questions shared by Mr. Hari. (Linkedin Profile:)

Happy Testing


Download android app Software Testing – Full Stack QE / SDET and get the early access.


 

All You Need To Know About Web Apps Security Testing

For those who are doing business in 21st century, automation is the name of the game! Of course, web apps bring flexibility for the businesses to reach out millions of potential customers across the globe, but security issues are increasing threat these days.

According to the recent independent analysis by Acutenix, an industry leader in web application security, 75% of all cyber-attacks are done at web application level. Also, the firm has shown that at least 70% of websites are at immediate risk of being hacked! As more ‘n’ more critical and sensitive data is stored in the web applications and the number of transactions increases, precise security testing of web applications has become crucial.

Security testing is to be carried out in order to ensure that whether a web app is capable enough to prevent the unauthorized
users to access the resource and data. In web applications and other client server applications, security testing plays a vital role
as it helps you identify the vulnerabilities or weakness of the website or web app on the go.

However, before you get into web app security testing, it is important that you make yourself aware about certain terms used in security testing.
Here’re a few common terms that you will be frequently going to use in web application testing for security:

(more…)