Hi Kasun, I think we can also use "Regular Expression Extractor" get the id of an asset with the following regular expression.
"id" : "(.+?)" you can save the asset id with reference name and can be used this reference in future operations. (Eg : Update asset with extracted ID). Thanks! Rajith On Sun, Mar 6, 2016 at 5:23 PM, Danesh Kuruppu <[email protected]> wrote: > Hi Kasun, > > Can't we use Jmeter post-processors here as [1]. If your response is in > JSON format, you need to install JSON plugin [2] > > 1. http://www.thetestingworld.com/post-processors-in-jmeter/ > 2. http://jmeter-plugins.org/wiki/JSONPathExtractor/ > > Thanks > Danesh > > On Fri, Mar 4, 2016 at 4:43 PM, Kasun Thennakoon <[email protected]> wrote: > >> Hi All, >> >> I'm using Jmeter 2.6 for performance testing on Greg. >> I want to do the $subject in JMeter, to update an asset by assetId as >> part of CRUD operations. I couldn’t find an element to assign response >> parameter to a jmeter internal variable. >> Could some one suggest a method to $subject ? >> >> Thanks, >> -- >> *Kasun Thennakoon* >> Software Engineer >> WSO2, Inc. >> Mobile:+94 711661919 >> > > > > -- > > Danesh Kuruppu > Software Engineer > WSO2 Inc, > Mobile: +94 (77) 1690552 > > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- Rajith Roshan Software Engineer, WSO2 Inc. Mobile: +94-72-642-8350 <%2B94-71-554-8430>
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
