Re: RegExp Tester to extend View Results Tree listener
Hello, Now renderes can have own I18N resources. For against, I have left resources messages of standard elements (HTML, JSON, XML...) in the main messages.properties. I also propose a new package named 'display', some explanation here (and a new draft patch). http://www.milamberspace.net/jmeter-display/new_view_results_tree_draft.html Thank you for your comments. Milamber Le 27/06/2009 07:50, Milamber a ecrit : Hello, Thanks for your comments, they is good ideas The development of this new features is on a good way. I have created a new listener ViewResultsBase to manage the left pane (results tree) and call methods to control the display of right pane. I'm using a interface that be implement by results viewer. If you want see, you find a draft patch in attachment. Now I have some works: * find a way to have a specific messages.properties (I18N) for a render (I will work that today, but if you have some advices, they are welcome) * find a way to automatically discover all renderers which implements the interface ResultsRender (perhaps I need some help...) * separating for HTML/HTML with DR/XML/JSON. * I thought too add a 'document stats render' to have some statistics of data response like number's characters, number's spaces, md5 hash, sha1 hash... Milamber Le 27/06/2009 00:49, sebb a ecrit : On 20/06/2009, Milamber milambersp...@gmail.com wrote: Hello, Here some screen captures to view my proposal design to have a listener View Full Results extensible. http://www.milamberspace.net/regexp_tester/view_results_tree_proposal_design.html If you want, you are invited to give your comments. Looks very neat; I think a drop-down is what is wanted here. However it might be clearer if the drop-down was used instead of the Text/HTML/XML/JSON checkboxes. So the list would be: Text HTML XML JSON AMF3 Regex Tester ... Perhaps the Download embedded resources option should be another entry, i.e Text HTML HTML with embedded resources XML ... The option only applies to HTML anyway. Milamber Le 16/06/2009 00:23, Milamber a ecrit : Le 16/06/2009 00:11, sebb a ecrit : On 15/06/2009, Milamber milambersp...@gmail.com wrote: Thanks for your response. Thus there are two ways (if I correctly understand): 1/ modify ViewResultsFullVisualizer for find specific classes (in classpath?) like Menu Generator in JMeter, to add one or more panes in this listener. Yes, that's what I meant. JMeter already has utils for finding classes. 2/ or create a new visulizer (with capitalization on ViewResultsFullVisualizer (some copy/paste) and add a new action/result to test regexp, or AMF visualizer. Yes, that's another possibility. Some questions to find the best way: - in 2/ the new visualizer regexp show tree results (left) and only the regexp tester (right) ? no necessary to have the 2 first tabs (sample result and request)? Yes, you can add just output you want - no need to add tabs that aren't used. - in 1/ possibly (better way) to split the ViewResultsFullVisualizer in two classes: one are base (left tree and sample result), and the second is the two others pane? In my opinion, 1/ is more 'sexy' way (more flexible : one unique listener to helper creating script (potentially several render / tester in future...) But with lots of new tabs, it could become a bit awkward. Might need to find a better method of organising the display. 2/ is more simple to do Which way I beginning? I don't think there is a best way; both have advantages and both have disadvantages, but I prefer option 1). Ok, I try to do option 1. In first step, I will work to find a good improved GUI in ViewResultsFullVisualizer for add one or more external visualizer. I will propose some screens captures. If you get stuck on the dynamic aspects I can probably help with that. Thank, I will send mail if I need help A+ Milamber Thanks Milamber Le 15/06/2009 19:22, sebb a ecrit : On 14/06/2009, Milamber milambersp...@gmail.com wrote: Hello, I have developed a small extension to JMeter for add a tab in View Results Tree listener which permit to test a regular expression on response data and view all matches. (this extension in to help jmeter's user to test their regexp without a running test. this requirement because I give some trainings on JMeter and students aren't regexp's hackers) You can view some screen captures and a add patch in
Re: RegExp Tester to extend View Results Tree listener
On 20/06/2009, Milamber milambersp...@gmail.com wrote: Hello, Here some screen captures to view my proposal design to have a listener View Full Results extensible. http://www.milamberspace.net/regexp_tester/view_results_tree_proposal_design.html If you want, you are invited to give your comments. Looks very neat; I think a drop-down is what is wanted here. However it might be clearer if the drop-down was used instead of the Text/HTML/XML/JSON checkboxes. So the list would be: Text HTML XML JSON AMF3 Regex Tester ... Perhaps the Download embedded resources option should be another entry, i.e Text HTML HTML with embedded resources XML ... The option only applies to HTML anyway. Milamber Le 16/06/2009 00:23, Milamber a ecrit : Le 16/06/2009 00:11, sebb a ecrit : On 15/06/2009, Milamber milambersp...@gmail.com wrote: Thanks for your response. Thus there are two ways (if I correctly understand): 1/ modify ViewResultsFullVisualizer for find specific classes (in classpath?) like Menu Generator in JMeter, to add one or more panes in this listener. Yes, that's what I meant. JMeter already has utils for finding classes. 2/ or create a new visulizer (with capitalization on ViewResultsFullVisualizer (some copy/paste) and add a new action/result to test regexp, or AMF visualizer. Yes, that's another possibility. Some questions to find the best way: - in 2/ the new visualizer regexp show tree results (left) and only the regexp tester (right) ? no necessary to have the 2 first tabs (sample result and request)? Yes, you can add just output you want - no need to add tabs that aren't used. - in 1/ possibly (better way) to split the ViewResultsFullVisualizer in two classes: one are base (left tree and sample result), and the second is the two others pane? In my opinion, 1/ is more 'sexy' way (more flexible : one unique listener to helper creating script (potentially several render / tester in future...) But with lots of new tabs, it could become a bit awkward. Might need to find a better method of organising the display. 2/ is more simple to do Which way I beginning? I don't think there is a best way; both have advantages and both have disadvantages, but I prefer option 1). Ok, I try to do option 1. In first step, I will work to find a good improved GUI in ViewResultsFullVisualizer for add one or more external visualizer. I will propose some screens captures. If you get stuck on the dynamic aspects I can probably help with that. Thank, I will send mail if I need help A+ Milamber Thanks Milamber Le 15/06/2009 19:22, sebb a ecrit : On 14/06/2009, Milamber milambersp...@gmail.com wrote: Hello, I have developed a small extension to JMeter for add a tab in View Results Tree listener which permit to test a regular expression on response data and view all matches. (this extension in to help jmeter's user to test their regexp without a running test. this requirement because I give some trainings on JMeter and students aren't regexp's hackers) You can view some screen captures and a add patch in this link : http://www.milamberspace.net/regexp_tester/regexp_tester_introduction.html Looks to be a very useful extension. To make this extension, I needed replace some private fields and methods to protected variables and methods in org.apache.jmeter.visualizers.ViewResultsFullVisualizer. I don't create a new bugzilla, because I have some questions: * It is possible to integrate this extension in main JMeter ? Yes, potentially. need a vote or some process to pass? There's no formal process. * If not, it's possible to valide the private/protected changes in trunk ? this changes to permit to extented this listener rapidly. (I would like too add a AMF viewer (without integrate in trunk)) Extending the class to add a single extra pane works, but is not scalable. I think it might be better to enhance ViewResultsFullVisualizer so that it can process external panes. The other approach would be to create a new Visualizer; this might be a better approach for AMF.
Re: RegExp Tester to extend View Results Tree listener
Hello, Here some screen captures to view my proposal design to have a listener View Full Results extensible. http://www.milamberspace.net/regexp_tester/view_results_tree_proposal_design.html If you want, you are invited to give your comments. Milamber Le 16/06/2009 00:23, Milamber a ecrit : Le 16/06/2009 00:11, sebb a ecrit : On 15/06/2009, Milamber milambersp...@gmail.com wrote: Thanks for your response. Thus there are two ways (if I correctly understand): 1/ modify ViewResultsFullVisualizer for find specific classes (in classpath?) like Menu Generator in JMeter, to add one or more panes in this listener. Yes, that's what I meant. JMeter already has utils for finding classes. 2/ or create a new visulizer (with capitalization on ViewResultsFullVisualizer (some copy/paste) and add a new action/result to test regexp, or AMF visualizer. Yes, that's another possibility. Some questions to find the best way: - in 2/ the new visualizer regexp show tree results (left) and only the regexp tester (right) ? no necessary to have the 2 first tabs (sample result and request)? Yes, you can add just output you want - no need to add tabs that aren't used. - in 1/ possibly (better way) to split the ViewResultsFullVisualizer in two classes: one are base (left tree and sample result), and the second is the two others pane? In my opinion, 1/ is more 'sexy' way (more flexible : one unique listener to helper creating script (potentially several render / tester in future...) But with lots of new tabs, it could become a bit awkward. Might need to find a better method of organising the display. 2/ is more simple to do Which way I beginning? I don't think there is a best way; both have advantages and both have disadvantages, but I prefer option 1). Ok, I try to do option 1. In first step, I will work to find a good improved GUI in ViewResultsFullVisualizer for add one or more external visualizer. I will propose some screens captures. If you get stuck on the dynamic aspects I can probably help with that. Thank, I will send mail if I need help A+ Milamber Thanks Milamber Le 15/06/2009 19:22, sebb a ecrit : On 14/06/2009, Milamber milambersp...@gmail.com wrote: Hello, I have developed a small extension to JMeter for add a tab in View Results Tree listener which permit to test a regular expression on response data and view all matches. (this extension in to help jmeter's user to test their regexp without a running test. this requirement because I give some trainings on JMeter and students aren't regexp's hackers) You can view some screen captures and a add patch in this link : http://www.milamberspace.net/regexp_tester/regexp_tester_introduction.html Looks to be a very useful extension. To make this extension, I needed replace some private fields and methods to protected variables and methods in org.apache.jmeter.visualizers.ViewResultsFullVisualizer. I don't create a new bugzilla, because I have some questions: * It is possible to integrate this extension in main JMeter ? Yes, potentially. need a vote or some process to pass? There's no formal process. * If not, it's possible to valide the private/protected changes in trunk ? this changes to permit to extented this listener rapidly. (I would like too add a AMF viewer (without integrate in trunk)) Extending the class to add a single extra pane works, but is not scalable. I think it might be better to enhance ViewResultsFullVisualizer so that it can process external panes. The other approach would be to create a new Visualizer; this might be a better approach for AMF. Some guidance are welcome. I can answer questions if need (I can create a new buzilla if it's better) Thanks Milamber - To unsubscribe, e-mail: jmeter-dev-unsubscr...@jakarta.apache.org For additional commands, e-mail: jmeter-dev-h...@jakarta.apache.org - To unsubscribe, e-mail: jmeter-dev-unsubscr...@jakarta.apache.org For additional commands, e-mail: jmeter-dev-h...@jakarta.apache.org - To unsubscribe, e-mail: jmeter-dev-unsubscr...@jakarta.apache.org For additional commands, e-mail: jmeter-dev-h...@jakarta.apache.org
Re: RegExp Tester to extend View Results Tree listener
On 14/06/2009, Milamber milambersp...@gmail.com wrote: Hello, I have developed a small extension to JMeter for add a tab in View Results Tree listener which permit to test a regular expression on response data and view all matches. (this extension in to help jmeter's user to test their regexp without a running test. this requirement because I give some trainings on JMeter and students aren't regexp's hackers) You can view some screen captures and a add patch in this link : http://www.milamberspace.net/regexp_tester/regexp_tester_introduction.html Looks to be a very useful extension. To make this extension, I needed replace some private fields and methods to protected variables and methods in org.apache.jmeter.visualizers.ViewResultsFullVisualizer. I don't create a new bugzilla, because I have some questions: * It is possible to integrate this extension in main JMeter ? Yes, potentially. need a vote or some process to pass? There's no formal process. * If not, it's possible to valide the private/protected changes in trunk ? this changes to permit to extented this listener rapidly. (I would like too add a AMF viewer (without integrate in trunk)) Extending the class to add a single extra pane works, but is not scalable. I think it might be better to enhance ViewResultsFullVisualizer so that it can process external panes. The other approach would be to create a new Visualizer; this might be a better approach for AMF. Some guidance are welcome. I can answer questions if need (I can create a new buzilla if it's better) Thanks Milamber - To unsubscribe, e-mail: jmeter-dev-unsubscr...@jakarta.apache.org For additional commands, e-mail: jmeter-dev-h...@jakarta.apache.org - To unsubscribe, e-mail: jmeter-dev-unsubscr...@jakarta.apache.org For additional commands, e-mail: jmeter-dev-h...@jakarta.apache.org
Re: RegExp Tester to extend View Results Tree listener
Thanks for your response. Thus there are two ways (if I correctly understand): 1/ modify ViewResultsFullVisualizer for find specific classes (in classpath?) like Menu Generator in JMeter, to add one or more panes in this listener. 2/ or create a new visulizer (with capitalization on ViewResultsFullVisualizer (some copy/paste) and add a new action/result to test regexp, or AMF visualizer. Some questions to find the best way: - in 2/ the new visualizer regexp show tree results (left) and only the regexp tester (right) ? no necessary to have the 2 first tabs (sample result and request)? - in 1/ possibly (better way) to split the ViewResultsFullVisualizer in two classes: one are base (left tree and sample result), and the second is the two others pane? In my opinion, 1/ is more 'sexy' way (more flexible : one unique listener to helper creating script (potentially several render / tester in future...) 2/ is more simple to do Which way I beginning? Thanks Milamber Le 15/06/2009 19:22, sebb a ecrit : On 14/06/2009, Milamber milambersp...@gmail.com wrote: Hello, I have developed a small extension to JMeter for add a tab in View Results Tree listener which permit to test a regular expression on response data and view all matches. (this extension in to help jmeter's user to test their regexp without a running test. this requirement because I give some trainings on JMeter and students aren't regexp's hackers) You can view some screen captures and a add patch in this link : http://www.milamberspace.net/regexp_tester/regexp_tester_introduction.html Looks to be a very useful extension. To make this extension, I needed replace some private fields and methods to protected variables and methods in org.apache.jmeter.visualizers.ViewResultsFullVisualizer. I don't create a new bugzilla, because I have some questions: * It is possible to integrate this extension in main JMeter ? Yes, potentially. need a vote or some process to pass? There's no formal process. * If not, it's possible to valide the private/protected changes in trunk ? this changes to permit to extented this listener rapidly. (I would like too add a AMF viewer (without integrate in trunk)) Extending the class to add a single extra pane works, but is not scalable. I think it might be better to enhance ViewResultsFullVisualizer so that it can process external panes. The other approach would be to create a new Visualizer; this might be a better approach for AMF. Some guidance are welcome. I can answer questions if need (I can create a new buzilla if it's better) Thanks Milamber - To unsubscribe, e-mail: jmeter-dev-unsubscr...@jakarta.apache.org For additional commands, e-mail: jmeter-dev-h...@jakarta.apache.org - To unsubscribe, e-mail: jmeter-dev-unsubscr...@jakarta.apache.org For additional commands, e-mail: jmeter-dev-h...@jakarta.apache.org
Re: RegExp Tester to extend View Results Tree listener
On 15/06/2009, Milamber milambersp...@gmail.com wrote: Thanks for your response. Thus there are two ways (if I correctly understand): 1/ modify ViewResultsFullVisualizer for find specific classes (in classpath?) like Menu Generator in JMeter, to add one or more panes in this listener. Yes, that's what I meant. JMeter already has utils for finding classes. 2/ or create a new visulizer (with capitalization on ViewResultsFullVisualizer (some copy/paste) and add a new action/result to test regexp, or AMF visualizer. Yes, that's another possibility. Some questions to find the best way: - in 2/ the new visualizer regexp show tree results (left) and only the regexp tester (right) ? no necessary to have the 2 first tabs (sample result and request)? Yes, you can add just output you want - no need to add tabs that aren't used. - in 1/ possibly (better way) to split the ViewResultsFullVisualizer in two classes: one are base (left tree and sample result), and the second is the two others pane? In my opinion, 1/ is more 'sexy' way (more flexible : one unique listener to helper creating script (potentially several render / tester in future...) But with lots of new tabs, it could become a bit awkward. Might need to find a better method of organising the display. 2/ is more simple to do Which way I beginning? I don't think there is a best way; both have advantages and both have disadvantages, but I prefer option 1). If you get stuck on the dynamic aspects I can probably help with that. Thanks Milamber Le 15/06/2009 19:22, sebb a ecrit : On 14/06/2009, Milamber milambersp...@gmail.com wrote: Hello, I have developed a small extension to JMeter for add a tab in View Results Tree listener which permit to test a regular expression on response data and view all matches. (this extension in to help jmeter's user to test their regexp without a running test. this requirement because I give some trainings on JMeter and students aren't regexp's hackers) You can view some screen captures and a add patch in this link : http://www.milamberspace.net/regexp_tester/regexp_tester_introduction.html Looks to be a very useful extension. To make this extension, I needed replace some private fields and methods to protected variables and methods in org.apache.jmeter.visualizers.ViewResultsFullVisualizer. I don't create a new bugzilla, because I have some questions: * It is possible to integrate this extension in main JMeter ? Yes, potentially. need a vote or some process to pass? There's no formal process. * If not, it's possible to valide the private/protected changes in trunk ? this changes to permit to extented this listener rapidly. (I would like too add a AMF viewer (without integrate in trunk)) Extending the class to add a single extra pane works, but is not scalable. I think it might be better to enhance ViewResultsFullVisualizer so that it can process external panes. The other approach would be to create a new Visualizer; this might be a better approach for AMF. Some guidance are welcome. I can answer questions if need (I can create a new buzilla if it's better) Thanks Milamber - To unsubscribe, e-mail: jmeter-dev-unsubscr...@jakarta.apache.org For additional commands, e-mail: jmeter-dev-h...@jakarta.apache.org - To unsubscribe, e-mail: jmeter-dev-unsubscr...@jakarta.apache.org For additional commands, e-mail: jmeter-dev-h...@jakarta.apache.org - To unsubscribe, e-mail: jmeter-dev-unsubscr...@jakarta.apache.org For additional commands, e-mail: jmeter-dev-h...@jakarta.apache.org
Re: RegExp Tester to extend View Results Tree listener
Le 16/06/2009 00:11, sebb a ecrit : On 15/06/2009, Milamber milambersp...@gmail.com wrote: Thanks for your response. Thus there are two ways (if I correctly understand): 1/ modify ViewResultsFullVisualizer for find specific classes (in classpath?) like Menu Generator in JMeter, to add one or more panes in this listener. Yes, that's what I meant. JMeter already has utils for finding classes. 2/ or create a new visulizer (with capitalization on ViewResultsFullVisualizer (some copy/paste) and add a new action/result to test regexp, or AMF visualizer. Yes, that's another possibility. Some questions to find the best way: - in 2/ the new visualizer regexp show tree results (left) and only the regexp tester (right) ? no necessary to have the 2 first tabs (sample result and request)? Yes, you can add just output you want - no need to add tabs that aren't used. - in 1/ possibly (better way) to split the ViewResultsFullVisualizer in two classes: one are base (left tree and sample result), and the second is the two others pane? In my opinion, 1/ is more 'sexy' way (more flexible : one unique listener to helper creating script (potentially several render / tester in future...) But with lots of new tabs, it could become a bit awkward. Might need to find a better method of organising the display. 2/ is more simple to do Which way I beginning? I don't think there is a best way; both have advantages and both have disadvantages, but I prefer option 1). Ok, I try to do option 1. In first step, I will work to find a good improved GUI in ViewResultsFullVisualizer for add one or more external visualizer. I will propose some screens captures. If you get stuck on the dynamic aspects I can probably help with that. Thank, I will send mail if I need help A+ Milamber Thanks Milamber Le 15/06/2009 19:22, sebb a ecrit : On 14/06/2009, Milamber milambersp...@gmail.com wrote: Hello, I have developed a small extension to JMeter for add a tab in View Results Tree listener which permit to test a regular expression on response data and view all matches. (this extension in to help jmeter's user to test their regexp without a running test. this requirement because I give some trainings on JMeter and students aren't regexp's hackers) You can view some screen captures and a add patch in this link : http://www.milamberspace.net/regexp_tester/regexp_tester_introduction.html Looks to be a very useful extension. To make this extension, I needed replace some private fields and methods to protected variables and methods in org.apache.jmeter.visualizers.ViewResultsFullVisualizer. I don't create a new bugzilla, because I have some questions: * It is possible to integrate this extension in main JMeter ? Yes, potentially. need a vote or some process to pass? There's no formal process. * If not, it's possible to valide the private/protected changes in trunk ? this changes to permit to extented this listener rapidly. (I would like too add a AMF viewer (without integrate in trunk)) Extending the class to add a single extra pane works, but is not scalable. I think it might be better to enhance ViewResultsFullVisualizer so that it can process external panes. The other approach would be to create a new Visualizer; this might be a better approach for AMF. Some guidance are welcome. I can answer questions if need (I can create a new buzilla if it's better) Thanks Milamber - To unsubscribe, e-mail: jmeter-dev-unsubscr...@jakarta.apache.org For additional commands, e-mail: jmeter-dev-h...@jakarta.apache.org - To unsubscribe, e-mail: jmeter-dev-unsubscr...@jakarta.apache.org For additional commands, e-mail: jmeter-dev-h...@jakarta.apache.org - To unsubscribe, e-mail: jmeter-dev-unsubscr...@jakarta.apache.org For additional commands, e-mail: jmeter-dev-h...@jakarta.apache.org
RegExp Tester to extend View Results Tree listener
Hello, I have developed a small extension to JMeter for add a tab in View Results Tree listener which permit to test a regular expression on response data and view all matches. (this extension in to help jmeter's user to test their regexp without a running test. this requirement because I give some trainings on JMeter and students aren't regexp's hackers) You can view some screen captures and a add patch in this link : http://www.milamberspace.net/regexp_tester/regexp_tester_introduction.html To make this extension, I needed replace some private fields and methods to protected variables and methods in org.apache.jmeter.visualizers.ViewResultsFullVisualizer. I don't create a new bugzilla, because I have some questions: * It is possible to integrate this extension in main JMeter ? need a vote or some process to pass? * If not, it's possible to valide the private/protected changes in trunk ? this changes to permit to extented this listener rapidly. (I would like too add a AMF viewer (without integrate in trunk)) Some guidance are welcome. I can answer questions if need (I can create a new buzilla if it's better) Thanks Milamber - To unsubscribe, e-mail: jmeter-dev-unsubscr...@jakarta.apache.org For additional commands, e-mail: jmeter-dev-h...@jakarta.apache.org