Mercurial > stress-tester
changeset 478:ce8d1a1cda94
ST-60 in progress
author | Devel 1 |
---|---|
date | Tue, 08 Aug 2017 09:35:22 +0200 |
parents | ee228e860ea2 |
children | 717b8d9db5b6 |
files | stress-tester/src/test/resources/com/passus/st/client/http/filter/form_csrf1.html |
diffstat | 1 files changed, 37 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/stress-tester/src/test/resources/com/passus/st/client/http/filter/form_csrf1.html Tue Aug 08 09:35:22 2017 +0200 @@ -0,0 +1,37 @@ +<!DOCTYPE html> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head lang="en"> + <title>Title</title> +</head> + +<body class="main"> + <section class="container"> + <ForM name="form1" method="post" novalidate="novalidate"> + <div class="row"> + <input type="text" id="form_name" name="form[name]" required="required" class="mp-textbox k-textbox" value="httpx" /> + <input type="checkbox" id="form_active" name="form[active]" required="required" value="1" checked="checked" /> + <input type="hidden" id="form_type" name="form[type]" value="session.http" /> + <textarea id="form_mimeTypes" name="form[mimeTypes]" required="required" rows="10 4" style="width: 400px" cols="40" class="mp-textbox k-textbox">text/html +text/plain +text/xml +application/json +application/x-www-form-urlencoded +multipart/form-data</textarea> + <input type="hidden" id="form__token" name="form[_token]" value="token-1qwerty" /> + <button type="submit" id="form_save" name="form[save]" class="k-button k-primary">Save</button> + <button type="submit" id="form_cancel" name="form[cancel]" class="k-button">Cancel</button> + </div> + </ForM> + </section> + <section class="container2"> + <form name="form2" action="" method="post"> + <input type="hidden" id="form__token" name="form[_token]" value="token-2qwerty" /> + </form><form name="form3" action="save_form" method="post"> + <input type="hidden" id="form__token" name="form[_token]" value="token-3qwerty" /> + </form> + <form name="form4" action="/service/save_form" method="post"> + <input type="hidden" id="form__token" name="form[_token]" value="token-4qwerty" /> + </form> + </section> +</body> +</html> \ No newline at end of file