Forum Discussion

JShah's avatar
JShah
Contributor
10 years ago

Request ID

Hi Guys,

We have issue when passing values to the xml - please look at the sample api

<employer_id/>
<epstd>0</epstd>
<fee_amount>150.00</fee_amount>
<guarantor_id/>
<id>${create_claim#Response#//bill[1]/charge_lines[1]/charge_line[1]/id[1]}</id>
<insurance_allowed/>
<insurance_coins/>

during the load test some of the request successfully pass the <id> value but some still got the following text ( <id>${create_claim#Response#//bill[1]/charge_lines[1]/charge_line[1]/id[1]}</id>) which make the server complain
that it should expect an integer instead of the long string, the create claim test step are working fine and it
create those values perfectly.

can you please shed light on the issue?

Thanks

3 Replies

  • SmartBear_Suppo's avatar
    SmartBear_Suppo
    SmartBear Alumni (Retired)
    Hi,

    Can you please share your load test strategy?
    Is there a certain configuration that will cause you to get that error? Ideally, we'd like to reproduce the issue on our end to look further.
    Thanks,

    Giscard
    SmartBear Support
  • Hello,

    Sure, please look at the following screenshot.
    We just passing around the value thru the xml.

    Basically the xml was updated since we are trying different method like
    passing the value directly from a step variable and let the xml consume it
    directly.

    Thank you so much