# Multiple Scenarios running sequentially

**URL:** https://community.gatling.io/t/multiple-scenarios-running-sequentially/8736
**Category:** Gatling (Open-Source)
**Created:** [February 19, 2024, 12:08pm UTC](https://community.gatling.io/t/multiple-scenarios-running-sequentially/8736 "2024-02-19T12:08:51Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Keith](https://avatars.discourse-cdn.com/v4/letter/k/f05b48/32.png) [@Keith](https://community.gatling.io/u/Keith)
#### Post date: [February 19, 2024, 12:08pm UTC](https://community.gatling.io/t/multiple-scenarios-running-sequentially/8736/1 "2024-02-19T12:08:51Z")

</div>

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!

 ![GATLING_FORUM_1](https://europe1.discourse-cdn.com/flex013/uploads/gatling2/original/2X/6/61f89ca7254a73b00d6e5ed67c87498c13a41622.png)

---

<div class="post-metadata">

### Author: ![sbrevet](https://dub1.discourse-cdn.com/flex013/user_avatar/community.gatling.io/sbrevet/32/830_2.png) [@sbrevet](https://community.gatling.io/u/sbrevet)
#### Post date: [February 19, 2024, 12:14pm UTC](https://community.gatling.io/t/multiple-scenarios-running-sequentially/8736/2 "2024-02-19T12:14:09Z")

</div>

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!

---

<div class="post-metadata">

### Author: ![Keith](https://avatars.discourse-cdn.com/v4/letter/k/f05b48/32.png) [@Keith](https://community.gatling.io/u/Keith)
#### Post date: [February 19, 2024, 4:13pm UTC](https://community.gatling.io/t/multiple-scenarios-running-sequentially/8736/3 "2024-02-19T16:13:52Z")

</div>

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

---

<div class="post-metadata">

### Author: ![slandelle](https://dub1.discourse-cdn.com/flex013/user_avatar/community.gatling.io/slandelle/32/4_2.png) [@slandelle](https://community.gatling.io/u/slandelle)
#### Post date: [February 21, 2024, 8:30am UTC](https://community.gatling.io/t/multiple-scenarios-running-sequentially/8736/4 "2024-02-21T08:30:37Z")

</div>

> 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?

---

<div class="post-metadata">

### Author: ![Keith](https://avatars.discourse-cdn.com/v4/letter/k/f05b48/32.png) [@Keith](https://community.gatling.io/u/Keith)
#### Post date: [February 21, 2024, 11:23am UTC](https://community.gatling.io/t/multiple-scenarios-running-sequentially/8736/5 "2024-02-21T11:23:57Z")

</div>

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

---

<div class="post-metadata">

### Author: ![slandelle](https://dub1.discourse-cdn.com/flex013/user_avatar/community.gatling.io/slandelle/32/4_2.png) [@slandelle](https://community.gatling.io/u/slandelle)
#### Post date: [February 25, 2024, 12:57pm UTC](https://community.gatling.io/t/multiple-scenarios-running-sequentially/8736/6 "2024-02-25T12:57:14Z")

</div>


