Write test on page response

Yurij Shinkarev <[email protected]>
Newsgroups gmane.comp.java.tapestry.user
Message-ID <CAEhzDg0FZN_fYcyXVOspjuXu-96bScx+a3BXrpBkgMDz_jBTXg@mail.gmail.com>
Hello all.
I have page, this page return StreamResponse (json). So, I have in code:

StreamResponse onActivate() { .... }

I want write a test for this page.
I can send PUT/GET/POST/DELETE request with different parameters.
Server return me some result.
I want test this results.
How I can did it?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.