Report Summary

Testing REST ServiceNow APIs using JMeter offers a powerful approach to validate the functionality and performance of the ServiceNow platform. Leveraging JMeter, it has been created a test scenario to evaluate API endpoints, authentication mechanisms, data retrieval, and overall system responsiveness. JMeter identifies potential bottlenecks and performance issues by simulating real-world user interactions and load conditions, enabling teams to fine-tune the APIs for optimal efficiency. With its flexibility and ability to generate insightful reports, JMeter is an indispensable tool in ensuring the reliability and scalability of REST ServiceNow APIs, enhancing the overall user experience and boosting the platform's capabilities.

In the JMeter testing, the simulation involved a load of 20 threads (per API) to mimic user interactions with the application. The test was designed with a ramp-up period of 240 seconds, gradually increasing the user load to reach the entire 20 threads. The total duration of the trial was set to 900 seconds (15 min), allowing sufficient time to observe the application's behavior under sustained load. By carefully configuring the test plan, I could evaluate the system's performance as adequate for 20 concurrent users.

N.B.: For sys_user1, sys_user2, and sys_user3, each test involved the same API but with varying parameters passed to it. The objective was to observe how the API responded differently under these distinct scenarios. By systematically manipulating the parameters, the aim was to assess the API's ability to handle various inputs and evaluate its performance in retrieving multiple parameters compared to fewer.

ServiceNow APIs Tested

API Label Name Method API Parameters API Link
Incident Table GET api/now/table/incident None GET Table
sys_user1 GET api/now/table/sys_user sysparm_fields = [name,] GET sys_user
sys_user2 GET api/now/table/sys_user sysparm_fields = [name,email] GET sys_user
sys_user3 GET api/now/table/sys_user sysparm_fields = [name, email, gender] GET sys_user
post_user POST api/now/table/sys_user None POST sys_user

Test and Report information

Source file ServiceNow.csv
Total Duration 900 seconds

Requests Summary

Statistics

Errors

Top 5 Errors by sampler