- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2024 05:52 AM
Hi everyone,
I have a business rule that I need to change, but I want to do some performance tests to ensure the change will not impact negatively my instance.
What is the best way for me to test with what I have right now, and then compare to the after I make the changes?
Thank you!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2024 11:51 AM
Hi, performance testing is very subjective as sub-production instances have different spec'd hardware and do not normally have the resource loading of a production instance. Even running a BR multiple times in an instance can produce differing results depending on node loading during each test.
Perhaps try running the BR XX hundred or thousand times in a loop as fix or background script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2024 11:51 AM
Hi, performance testing is very subjective as sub-production instances have different spec'd hardware and do not normally have the resource loading of a production instance. Even running a BR multiple times in an instance can produce differing results depending on node loading during each test.
Perhaps try running the BR XX hundred or thousand times in a loop as fix or background script

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2024 12:14 PM
Hi there,
Tony is spot on.
What you can do though, debug. That way you will see how often the BR is triggered, if that makes any sense or that it is triggered way too much. Are conditions applied? Also reviewing the code, manually or automatically and looking for best practices applied. Something simple as how GlideRecord queries are built, if you are after only one record if setLimit is applied, while versus if, next versus hasNext.
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field