Questions tagged mock
Scenarios that run against stubbed network traffic.
3 questions
Example threads. These questions and answers were written by the SDODS team to document real problems and how to fix them. The people named are illustrative, not real users. Questions asked on this site are marked new.
@har:checkout warns that no recorded file exists — is there a way to declare it up front?
Writing the scenario before recording the traffic, which I thought was the intended order: It is only a warning and I understand why — the file genuinely is not there yet. But we…
asked by Devon MarshHow do I keep a "last updated" timestamp out of a visual baseline?
The dashboard we are baselining has a "last updated HH:MM:SS" line in the header. Every single run differs by that strip of pixels, so the baseline is red forever and the diff is…
asked by Ade OyinlolaWhen should I reach for the mock step instead of @har, or the other way round?
Both stub the network. I can write this: or I can tag the scenario @har:banner and record it. They look interchangeable from where I am standing. Is there a rule for which one to…
asked by Kostya Petrov