Hi ZK,

Thanks for the response. I googled for the special characters and found a
list of 11

[ \ ^ $ . | ? * + ( )

I have escaped . with a backslash. But the response assertion takes that too
in a literal way.

*Assertion error: false
Assertion failure: true
Assertion failure message: Test failed: text expected to contain
/<CompanyCode\.GetDetail\.Response
xmlns="urn:sap-com:document:sap:business\.response">
   
      0000000121
      Firma
      Ides AG
      Martin Steiner, Kathrin Walther,
      Bernd Zecha, Dondogmaa Lchamdondog
      IDES intern
      
      Frankfurt
      
      
      60441
      60070
      
      160529
      
      
      Lyoner Stern 231
      
      
      
      
      
      
      
      
      
      DE
      D
      06
      IDES
      
      CET
      
      
      
      
      
      
      
   
   
      1000
      IDES AG
      Frankfurt
      DE
      EUR
      D
      INT
      K4
      DE123456789
      001000
      0000000121
      DE
      EUR
      DE
   
   
      
      
      
      
      000000
      
      
      
      
   
</CompanyCode\.GetDetail\.Response>/*


Please let me know if i am doing anything wrong.

Thanks again.

--
View this message in context: 
http://jmeter.512774.n5.nabble.com/Issue-with-Response-assertion-for-HTTP-Request-Sampler-tp4803205p4807268.html
Sent from the JMeter - User mailing list archive at Nabble.com.

Reply via email to