Hi to all, I just started to use jmeter and I have the following
questions/problems:

First of all: I use the Sampler SOAP/XML-RPC Request and send this
request:

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";
xmlns:soap12="http://www.w3.org/2003/05/soap-envelope";>
  <soap12:Header>
    <ServiceAuthHeader xmlns="http://Swisscom.Oci/";>
      <ClientId>${USER}</ClientId>
      <Password>${PASSWD}</Password>
      <SessionId>${SESSION}${__counter(TRUE,sessionCounter)}</SessionId>
      <ClientRequestId>${__counter(TRUE,requestID)}</ClientRequestId>
    </ServiceAuthHeader>
  </soap12:Header>
  <soap12:Body>
    <StartCheckout xmlns="http://Swisscom.Oci/"; />
  </soap12:Body>
</soap12:Envelope>

where USER, PASSWD, SESSION are stored in a CSV data set config

- How can I see the request I send? I attached a "View Result Tree"
Listener but under the Request-Tab I don't see the requests I sent (or
the tab is not what I think?). I would like to see the request to check
if the counter functions work. I want that the SessionId and
ClientRequestId are different for each thread.

- I also attached a "Response Assertion" with "Text Response" and
"Contains" selected and "GetPayment* | Workflow*" as "patterns to test".

The response I get back is:

?xml version="1.0"
encoding="utf-8"?>GetPaymentMethodtruetruetruetruetrue00 

so I would suppose the assertion is true, but under the Assertion Result
listener stays 

"StartCheckout
        Test failed, text expected to contain /(GetPayment* | Work*)/"

If I put only "GetPayment*" as pattern to test, then I get a positive
match...

Do I make something wrong? How do you build then "OR" clauses?


Thanx in advance.

Francesco

Reply via email to