I've been using various DSLs to create jMeter test plans for years and couldn't imagine doing it in Java instead. On Jan 21, 2015 9:05 PM, "Tim Koopmans" <[email protected]> wrote:
> You could try our ruby based DSL .. > http://flood-io.github.io/ruby-jmeter/ > > > On Thursday, January 22, 2015, jmeterdev <[email protected]> wrote: > > > So you say using the Java API to produce JMX files is "unsupported" and > > yet I > > have a code sample that shows me how to create a thread, sampler and save > > the result to a JMX file. > > > > We are interested in *bundling* JMeter with our own "facilities" which > > include HTTP Processing of services in a middleware solution. The idea > > would be to produce JMX files that can later be edited - by say disabling > > certain steps. > > > > Specifically what we want to do is: > > > > 1. Generate XPath Assertions for XML response documents (via HTTP > Requests) > > 2. Produce dynamically a JMX file with XPath Assertions > > 3. Allow Business Analysts to browse the resulting file > > 4. Allow them to disable/modify XPath Assertions to better match the test > > case > > > > This would allow/give the customers the BEST value for their middleware > > solution. Our goal would be to fully automate the solution given an > "input > > file" and then produce an "XML output file", "XPath Assertions" and > > "Dynamic > > JMX file". > > > > Test plans may then be used to *tweak* the tests by enabling/disabling > > certain XPath Assertions and allowing a Business User to modify certain > > assertions to better match the business validation of their test cases. > > > > For us this would be a very *important* middleware solution and we of > > course > > could offer this solution to all our existing customers. > > > > Examples: Handling of a PurchaseOrder, you would want to DISABLE > PONumber > > validation but keep things like POStatus (Ok, Backorder, etc.) > > > > > > Kristopher > > > > > > > > -- > > View this message in context: > > > http://jmeter.512774.n5.nabble.com/Using-Java-API-to-generate-JMX-files-tp5721657p5721660.html > > Sent from the JMeter - User mailing list archive at Nabble.com. > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > <javascript:;> > > For additional commands, e-mail: [email protected] > > <javascript:;> > > > > > > -- > > Tim Koopmans > > [image: Flood IO Pty Ltd] <https://flood.io> >
