Our client is trying to perform some peformance testing with the LoadRunner test framework and they are asking us for a way to programmtically retrieve the sfmRequestKey from an HTTP request so that they can use it to make further DDS calls to test the load on the environment.
We have looked at all of the Maestro requests use the Chrome dev tools but I don't see where the Maestro form is intially getting the sfmRequestKey.
Does someone know how to get programmatically this from the HTTP call?
You can get it in your Maestro form code by Form.getSystemData("RequestLogKey");
The sfmRequestKey value is pre-populated into the form system data in a field called RequestLogKey, but the data is encrypted, so that won't help you extract it.
Since the sfmRequestKey is sent with every DDS call as part of the form data, could you do an initial DDS call in a Form Load rule, extract the sfmRequestKey value, then use it in subsequent calls? It wouldn't matter what the initial form load rule called, it could be a dummy service, or it could be a service that just reflected the sfmRequestKey value back if that makes it easier to capture.
In a DDS HTTP request, the sfmRequestKey is sent as a form data field: