This will be down to the specific API. The API will determine what is returned.
Do you have documentation for this API?
Is it an in-house developed API, or it looks like a faker\mock library.
If its a fake\mock library. What are the matching rules that define what is returned?
As a test, change the dynamic variable to something static. You could use āinterfaceā again, and see what is returned. I suspect it will be the same, so the problem isnāt with the dynamic variable.
By looking at the console logs. In the second screenshot, it appears that āmobileā was sent instead of āvirtualā. The console log is probably going to be king here.
Can you clear the console logs, and run a single request (not via the runner) and then check the console log for the request and response. Do they match?
Then use the collection runner and again check the console log to see what was sent and received, and then match against the collection runner logs.
It looks like the console log is showing the correct details, and the collection runner log is showing something else.
When I didnāt choose āPersist responses for a sessionā, whatever values are different. But in this case I canāt see Request runner log, only Response that incorrect