This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 89996 - Using HTTP monitor for testing purpose
Summary: Using HTTP monitor for testing purpose
Status: NEW
Alias: None
Product: javaee
Classification: Unclassified
Component: HTTP Monitor (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: issues@javaee
Depends on:
Reported: 2006-11-24 11:06 UTC by Petr Pisl
Modified: 2007-08-30 17:29 UTC (History)
0 users

See Also:
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description Petr Pisl 2006-11-24 11:06:51 UTC
There is not good enough support for testing web application. I have one idea
how to improve this. The http monitor saves the request to the server. So we can
add an action to the http monitor, which will create test for selected list of
request. There are my usecases:

1) A developer creates for example an e-shop application and he wants to test
what is in the session after certain user action. Basically a user of such
application has to create an account, then login, then put something in the
shopping card etc. So the server has to proceed many request to get the
application to the wanted state. So the developer creates all these steps
manually through a browser (creating accounts, loggin, shopping) and then select
the appropriate request in the http monitor and invoke an action "Create test".
This action generates a test, which replay required request and allow test the
servlet container.

2) Similar to the first case. but the action, will replay the selected request
immediately. So the developer can define a group of request and save the request
separately. Then he can load this group of requests and replay it.