Test Workbench Community
  • Home
  • Blogs
  • FORUM
  • About
  • Contact
  • Resources

How to test the REST API service with Performance Tester

1/29/2018

4 Comments

 
Picture
​Performance Tester offers the service testing capabilities where in you can record a service test by invoking a series of calls with the Generic Service Client.
With this generic service client, you can execute Rest API service.
The following steps would help you get a successful response (Response Code:200) for the REST API URL which you would have.

1. Launch the Performance Tester
 
2. Click on "Generic Service Client"
​
Picture
3. Right click to create an "EndPoint" >> "Send a Query Request"
​
Picture
4. Configure the HTTP protocol and specify the URL configuration with Rest Mode selected as shown below.  Add the parameters to Post Method and specify the header value.
​
Picture
5. Select “Invoke” to initiate the request and check the response and related response properties.
​
Picture
6. You can create a service test for which you want to perform user load testing and add datapool configurations, then click on the icon (arrowed in below snapshot) present just about the "Request History". This will create a service test.
​
Picture
7.   When you select the POST request, you will see all those datapool candidates which you can action upon.
​
Picture
Kiran Byrappa
Senior Technical Lead

Kiran Byrappa is a Senior technical lead for Rational product suite from IBM, working with global team delivering L2 technical assistance and focused on application performance testing. He also contributes towards social blogging and assisting focal clients with required technical support and guidance. Kiran is part of HCL Technologies, Products and Platforms division, as part of IBM and HCL partnership to develop and support IBM Rational performance Suite.​

4 Comments
A.K
3/6/2018 12:07:48 pm

I am working on the similar project. For some reasons, I am not able to substitute the datapool value.

Reply
Kiran
3/7/2018 11:56:18 pm

There can be various reasons why you may not be able to substitute a DataPool candidate, for which we may have to start with the design of datapools and the schedule.

Could you explain the issue which you are facing?

Also, if we need to explore more on our troubleshooting options you can always contact the support and we shall be glad to assist you.

Reply
Anitha S
3/15/2018 02:57:59 am

Nice article ! Thanks for sharing !

Reply
Amith
2/22/2019 11:13:41 am

In RPT 9.1 VERSION THE GENERIC CLIENT SERVICE OPTION IS NOT VISIBLE AND HOW TO RECORD IT IN THIS.

Reply



Leave a Reply.

    Archives

    March 2020
    September 2019
    August 2019
    June 2019
    April 2019
    October 2018
    September 2018
    August 2018
    July 2018
    May 2018
    April 2018
    March 2018
    February 2018
    January 2018
    December 2017
    November 2017
    October 2017
    September 2017
    August 2017
    July 2017

    Categories

    All
    API Testing
    Embedded Testing
    Functional Testing
    Performance Testing

    RSS Feed

Proudly powered by Weebly
  • Home
  • Blogs
  • FORUM
  • About
  • Contact
  • Resources