Summary: | Removing a running HTTP Proxy from the tree is a small disaster. | ||
---|---|---|---|
Product: | JMeter - Now in Github | Reporter: | Jordi Salvat i Alabart <jsalvata> |
Component: | HTTP | Assignee: | JMeter issues mailing list <issues> |
Status: | RESOLVED FIXED | ||
Severity: | minor | ||
Priority: | P3 | ||
Version: | Nightly (Please specify date) | ||
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | All | ||
Attachments: | for fixing the problem occuring when we rmove http proxy server from tree while the proxy server is running |
Description
Jordi Salvat i Alabart
2003-12-02 17:17:28 UTC
I fixed this issue in my machine by changing Remove.java and now the above mentioned problem with Http Proxy Server is not appearing. I attached a document containing the code changes made in Remove.java Created attachment 11373 [details]
for fixing the problem occuring when we rmove http proxy server from tree while the proxy server is running
Applied fix to CVS 2.0 branch Oops! the change works, but fails to build in Ant, because Remove.java is built before the Proxy, and thus does not have the Proxy on the classpath. Rather than use Reflection or reorganise the build, I'll add a canRemove() method to Test Elements, with a default of true. Any test elements that need to do clean-up can then do it and return true, or just return false. Remove can display a message if canRemove() returns false. Fix applied to CVS 2.0 - cannot now remove Proxy without first stopping it. This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/1262 |