Unanswered question

Ignore error due to variable extractor without occurrence

Sometimes during variable extraction, we do not have occurrence. We have Neoload Assertion error.

How can we ignore these error ?
And how can proceed to specific transaction if there are no occurrence ?

Eric N.
Eric N.

Eric N.

Level
0
38 / 100
points

Answers

Eric N.
Eric N.

Eric N.

Level
0
38 / 100
points

I actived the option "Throw an assertion error" = False

Neil W.
Neil W.

Neil W.

Level
4
5000 / 5000
points
Team

Out of interest, where did you set this option? I assume you put the request in a try/catch?

Eric N.
Eric N.

Eric N.

Level
0
38 / 100
points

The option "Throw an assertion error" = False
is available on the request,
[button]Advanced... -> [Tab]Variable extractors -> [Content]Open your variable -> [Tab]Error

Then the assertion error of the variable will be ignore.

I found a solution thanks to a condition IF.
Thanks.