Hi , not sure if I completely understand the question, but if you ask about
mapping http requess into swat language,  then this is my answer :

In terms of swat request is just a directories and file paths  so GET
/58854/denied/
would be a
directory 58854/denied/ with a file get.txt in it.

$ mkdir -p 58854/denied/
$ echo 200 0K > 58854/denied/get.txt

More on this is written here
https://github.com/melezhik/swat#write-your-swat-story

Please let me know if it helps

пятница, 26 февраля 2016 г. пользователь Eric Covener написал:

> On Fri, Feb 26, 2016 at 11:23 AM, Eric Covener <[email protected]
> <javascript:;>> wrote:
> > On Thu, Feb 4, 2016 at 6:07 AM, Alexey Melezhik <[email protected]
> <javascript:;>> wrote:
> >> * what things could be improved
> >
> > I notice that failed (bad status code for example) tests hang for a
> > many seconds which makes iterating over stuff a little slow.
>
> The harness uses a path like this to request missing.txt:
>
> 58854/denied/missing.txt/get.txt
>
> How would you phrase a a request for /58854/denied/ ?
>

Reply via email to