In JMeter to execute you must create and run Thread Group with configuration and other elements, also for newbies reading the getting started can be a bit too much information. In Postman (or curl) you can just enter request details and submit In Blazemeter you can Creating a URL/API Test similarly. I suggest to add a button as Submit/Send/Test in HTTP request (Or any Sampler) that will send the Request as is (optional loading variables/properties beforehand)
Hello Orimarko (I'd be happy to know your real name :-) ), Thanks for your ideas. Could you be more clear on how you see this feature ? - Does it mean that user has only to enter an URL somewhere and run ? If so what about POST body for example ? - Or will entering an URL have the effect of creating the Test plan ? - Or something else ? Thanks
The basic is to put all URL in path and click Send, But better solution is to be able to load all attributes of HTTP request (Or other Sampler) with all the available variables and properties in Test plan level and send request as it'll executed as a single Sampler (in Thread group with threads number 1 and loop count 1) A "medium" solution is to submit request as is without evaluating any variables/functions
The feauture ( need to update to enhancement) will be a button in GUI In HTTP Request (and maybe other Samplers)
I think it's a very good idea that would help newbies with JMeter. I think a simple way to implement it would be would be a menu in File: > Test URL User would just enter the URL and check and a test plan would be created: Test Plan |--------Thread Group |------- HTTP Request with URL in path | -- Header Manager with User-Agent set to ApacheJMeter |-------- View Results Tree
Could we enhance the template system with parameters that could be filled in the testplan on generation? That way we could provide a template with a testplan as layed out by Philippe that prompts the user for one parameter (the url) and maybe even has some default values that could be changed.
(In reply to Felix Schumacher from comment #5) > Could we enhance the template system with parameters that could be filled in > the testplan on generation? > > That way we could provide a template with a testplan as layed out by > Philippe that prompts the user for one parameter (the url) and maybe even > has some default values that could be changed. Hello Felix, Yes it looks like a very good idea. Regards
This is now possible with implementation of Bug 62870 Feel free to provide a template
@orimarko Could you check next nightly or build from trunk and report back, wether the last commits fixed your issues? commit b4d32712b8e9e595746b0b71ec0ad399dfdd29a3 AuthorDate: Mon Apr 19 10:03:29 2021 +0300 Bug 61805 - Allow simple HTTP request Add simple HTTP request template Closes #663 Bugzilla Id: 61805 --- bin/templates/simple-http-request-test-plan.jmx | 134 ++++++++++++++++++++++++ bin/templates/templates.xml | 22 ++++ xdocs/changes.xml | 1 + 3 files changed, 157 insertions(+)
Closing, as no feedback probably means, it works.