1

We are building small test simulators that need to respond to restful requests injected into a platform based on content we inject into the message:

Example:  GET http://server/example-app/users
Content-Headers and/or query params = some value of pass with 200
Server respond with 200 and content


Example:  GET http://server/example-app/users
Content-Headers and/or query params = some value of fail with 400
Server respond with 400 and error

I am looking to see if anyone knows of an open source tool that would be of usefulness to inspect / parse the http request and figure out response based on the look-up criteria. I'm sure I could write some parsers easily, but just interested if the community has used or knows of something that is available to do the parsing and response mappings.

1
  • Do you want to write a servlet that does this? Commented May 20, 2013 at 19:59

2 Answers 2

1

It's possible that the OWASP Zed Attack Proxy covers your needs.

Sign up to request clarification or add additional context in comments.

Comments

0

Fiddler is an excellent proxy to inspect code and perform filtering: http://fiddler2.com/

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.