chron90
5 months agoNew Contributor
LoadTestContext is sometimes null in ReadyAPI Performance
When running performance tests and setting e.g. context.variableName in the setup script, then reading it in a functional test case that is being executed as a performance test scenario (context.LoadTestContext['variableName']), sometimes everything works correctly, other times LoadTestContext is empty.
I have tried adding some sleep time in the functional test case and/or rearranging things, but it doesn't seem to help. Still, in some runs it is there, in others it isn't.
Could there be any reason for this or is it just a bug in multiple ReadyAPI versions?
I contacted support and it has been confirmed that this is a bug. It is supposed to be fixed in a future release.