Hello, I'm not an expert but, did you try the function something like: //TextList/Text/upper-case(BaseText)="JOHN"
Regards, Peter [email protected] schreef op 8-8-2014 17:34: > //TextList/Text/BaseText="JOHN" > > and the input data is "JOHN" > > > but the system converts it and saves it as "John" > > > so the above test will fail. And changing the data is not an option on such > a large scale. > > > > -----Original Message----- > From: Masters,Louis <[email protected]> > To: 'JMeter Users List' <[email protected]> > Sent: Fri, Aug 1, 2014 8:36 am > Subject: RE: case insensitive xpath assertion? > > > Can you post your xpath assertion so I can try it out. > >> -----Original Message----- >> From: [email protected] [mailto:[email protected]] >> Sent: Thursday, July 31, 2014 4:10 PM >> To: [email protected] >> Cc: [email protected] >> Subject: case insensitive xpath assertion? >> >> >> I have a slew of Jmeter scripts that all are expecting the avalue to >> come back as it was sent. In this case XML sent with<Name>JOHN</Name> >> would be returned unmodified in all caps. However our system has >> changed, and now will modify the data in this element sothat it will be >> returned as <Name>John</Name>. So now all ofthese jmeter scripts are >> failing now because they use xpath assertions. Is there a way to modify >> a xpath assertion so that it is caseinsensitive? And no, I don’t have >> the option to change the inputdata to “John” to avoid this. >> >> Thanks >> >> Matthew > > Confidentiality Notice: The information contained in this e-mail and any > attachments (including, but not limited to, any attached e-mails) may be > legally > privileged and confidential. If you are not an intended recipient, you are > hereby notified that any dissemination, distribution or copying of this > e-mail > is strictly prohibited. If you have received this e-mail in error, please > notify > the sender and permanently delete the e-mail and any attachments immediately. > You should not retain, copy or use this e-mail or any attachment for any > purpose, nor disclose all or any part of the contents to any other person. > Thank > you. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > > -- Met vriendelijke groet, Peter Peterse --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
