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" 3. Right click to create an "EndPoint" >> "Send a Query Request" 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. 5. Select “Invoke” to initiate the request and check the response and related response properties. 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. 7. When you select the POST request, you will see all those datapool candidates which you can action upon. 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.
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
Categories
All
|