Is it possible to randomize the csv controller so it reads a random value for each thread as it runs? Is there a better way to do this?
-----Original Message----- From: sebb [mailto:[EMAIL PROTECTED] Sent: Monday, April 17, 2006 3:51 PM To: JMeter Users List Subject: Re: XML Schema validation On 17/04/06, amelaao <[EMAIL PROTECTED]> wrote: > I can't use option 1, because I'm using industry specific schemas > which I can't change. Aren't schemas just text files? Can't you just copy the file and add the appropriate information? > I extracted embedded message using RE extractor into a new variable, > but I'm not sure in Java Request Sampler which parameter to pass the > value of this variable to, so that XML Schema Assertion checks against it. The XML Schema Assertion checks the Response Data, so just set that to the variable in the Java Request JavaTest sampler. > My flow is currently: > > - SOAP/XML-RPC Request > - Response Assertion > - RE Extractor > - Java Request > - XML Schema Assertion > > I will submit a bugzilla entry, but would love to have temp solution > in the meantime. > Thanks, > Amela > > On 4/17/06, sebb <[EMAIL PROTECTED]> wrote: > > > I don't think this is possible currently, but there are some things > > you could try: > > > > * update the XSD to include the Soap wrapper > > > > * extract the content using the RE extractor, and generate a dummy > > sample using Java Request sampler, then add the XML Schema Assertion > > to that. > > > > Both are a bit messy. > > > > You could create a Bugzilla enhancement request - e.g. to add a > > facility to XML Schema Assertion to use part of the response or a > > variable. > > > > On 17/04/06, amela abadzic <[EMAIL PROTECTED]> wrote: > > > I'm using JMeter for automated Web Services testing. I'm using > > Soap/XML-RPC > > > Request Sampler. I need to validate the embedded response message > > against > > > the schema. I can't simply use XML Schema Assertion, because it > > > tries to validate the whole Soap Response, where I need to > > > validate just the > > payload > > > which is embedded in Soap Body. > > > > > > > > > > > > <SOAP-ENV:Envelope > > > > > > > <SOAP-ENV:Header >...</SOAP-ENV:Header > > > > > > > <SOAP-ENV:Body > > > > > > > <MessageToValidate> > > > > > > ... > > > > > > </ MessageToValidate> > > > > > > </SOAP-ENV:Body > > > > > > > </SOAP-ENV:Envelope> > > > > > > > > > > > > I can use Regular expression extractor to extract this > > <MessageToValidate> > > > ...</MessageToValidate>, and I would like a way to use XML Schema > > Assertion on > > > this extracted message. Any ideas will be very much appreciated. > > > > > > > > > > > > Thanks, > > > > > > Amela > > > > > > > > > > -------------------------------------------------------------------- > > - To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > -- > Regards, > Amela > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]