UNPKG

hulken

Version:

Hulken is a stress testing tool for everything speaking HTTP. Hulken supports multiple urls, GETs and POSTs, static and dynamic payloads, multiple agents and more. Hulken is highly configurable but defaults to some reasonable settings. Hulken works both a

46 lines (45 loc) 1.12 kB
[{ "method": "get", "path": "/another", "expectedTextToExist": "you have reached another page!WrongOnPurpose!" }, { "method": "get", "path": "/someother", "expectedTextToExist": "you have reached someother page" }, { "method": "get", "path": "/", "expectedTextToExist": "you have reached the test startpage", "expectedStatusCode": 200 }, { "method": "post", "path": "/", "expectedTextToExist": "you have sent me a POST request", "payload": { "foo": "bar", "testarray" : [] } }, { "method": "post", "path": "/NonStringPayload", "payload": { "foo": 1 } }, { "method": "post", "path": "/Random", "expectedTextToExist": "you have sent /Random a POST request", "payload": { "random": "::random lettersandnumbers 10", "random2": "::random numbers 15", "random3": "::random letters 20" } }, { "method": "post", "path": "/RandomList", "expectedTextToExist": "you have sent /RandomList a POST request", "payload": { "username": "::randomList usernames", "city" : "::randomList cities" } }]