41 lines
972 B
JSON
41 lines
972 B
JSON
[
|
|
{
|
|
"url": "http://localhost/mysite/login",
|
|
"method": "POST",
|
|
"headers": null,
|
|
"body": "username=admin&password=s3cr3t",
|
|
"header-regexp": [
|
|
{
|
|
"next_url": "/Location: (.+?)$/"
|
|
},
|
|
{
|
|
"cookie": "/Set-Cookie: (.+?)$/"
|
|
}
|
|
],
|
|
"body-regexp": null
|
|
},
|
|
{
|
|
"url": "http://localhost§next_url§",
|
|
"method": "GET",
|
|
"headers": {
|
|
"Cookie": "§cookie§"
|
|
},
|
|
"body": null,
|
|
"header-regexp": null,
|
|
"body-regexp": [
|
|
{
|
|
"email": "/<p>Your email is: (.+?)<\\/p>/"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"url": "http://localhost/mysite/sign-up",
|
|
"method": "POST",
|
|
"headers": {
|
|
"Cookie": "§cookie§"
|
|
},
|
|
"body": "op=signup&email=§email§",
|
|
"header-regexp": null,
|
|
"body-regexp": null
|
|
}
|
|
] |