I have two kinds of errors I am getting when I run my API call through the HTTP module: 400 and 404. I want to pass data along to our database depending on what error it is. However, when I go to create filters, the status codes and data variables are empty for both kinds of errors! So I cannot use them to create filters or make if statements. But when I go back to the API call, I do see that it says whether it was a 404 error or a 400 error-- I just can’t refer to it. Is there any way to get around this? I do not want to have to go back to the Scenario Run History and go through all the details of each run just to find which one had an error… I have the scenario set up to continue even when an error occurs because I need to input what kind of error I ran into when I made the API call.
Hi @artemis.water,
You probably need to change the “treat all status codes as errors” to no:
Then route the results with your filters
And this is what you get:
L
1 Like