>I am trying to add a POST sampler with JSON body data to my test plan through java code. Because ? It looks like you are trying to embed JMeter into your program and as far as I remember this wasnt really well supported as this was never a design requirement for JMeter.
> On running from java code,it always throws Unable to deserialize json error. What can possibly be the step am missing in java code ? Its pretty much impossible to debug java code without knowing what it is - no stack trace etc.Can you also elaborate on what you mean by running from Java code. On Tue, Jun 14, 2016 at 1:43 PM, Sharmadha <[email protected]> wrote: > I am trying to add a POST sampler with JSON body data to my test plan > through > java code. On running from java code,it always throws Unable to deserialize > json error. but when i run .jmx file in jmeter UI it runs fine. what can > possibly be the step am missing in java code ? Please help . > > > > > -- > View this message in context: > http://jmeter.512774.n5.nabble.com/Unable-to-POST-using-HTTPSampler-from-java-code-tp5724354.html > Sent from the JMeter - User mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
