Relative Content

Tag Archive for jmeterloadrunner

How to pass dynamic JSON body in JMeter and LoadRunner

I have a payload with manager and reportees, based upon the manager, reportees count will get differ. For example, for 1 manager I will have 3 reportees details and another manager I have 2 reportees. How to pass this as request for an API so that reportees values should get changed based upon the given manager? I tried storing them in a separate files and call file name to generate requests, but that wouldn’t be an ideal solution if I have to pass 1000 requests. Please share your thoughts.