Multiple Scenarios running sequentially

Hi all, I have a runner class, where I have 2 scenarios, when I run either scenario alone they pass without any errors, when I run them both sequentially I receive multiple 404 errors on some of the requests, no matter how many users that I inject, is there any reason for this? thanks in advance!

Hi @Keith,

Without a valid reproducer, we can only shoot in the dark.

Do you use global shared variable?
Do they share feeder?
Do you have different system properties?

What kind of action do you use in each scenario?

Only questions, no idea what may be wrong.
(Are you up to date?)

Cheers!

Thanks for the reply!
I used global shared variables for all the user settings.
I don’t use any feeders.
I have different HTTP protocols for V7 and V10 within the settings class.
In each scenario I have imported a HAR file of my actions (Logging in and out) of each application version and I have refactored each of those scripts using chainbuilders.
I’m currently using Gatling 3.10.3.
When I run the test it will fail on the same 3 requests on the V7Login and it fails on all the requests on the V10Login due to: Failed to build request: No baseURL defined but provided url is relative.
Thanks

Failed to build request: No baseURL defined but provided url is relative.

The error is pretty clear. What are you lacking to fix it on your end?

Issue rectified now, url change was required to fix solution, Thanks guys!

1 Like