Forum Discussion

namitjain123456's avatar
11 years ago

how can i Send a single request of 5 XML

I need to send 5 xml files in a single put request.

Test Scenario :- the request should not pass if the sum of a field in the XML requests is not 100

Request 1 : should pass
1st XML has 20
2nd XML has 20
3rd XML has 20
4rd XML has 20
5rd XML has 20

Request 2 : should fail
1st XML has 20
2nd XML has 20
3rd XML has 20
4rd XML has 20
5rd XML has 30

Please Suggest
  • PaulDonny's avatar
    PaulDonny
    Regular Contributor
    We would need a lot more information here and I am (sort of hoping) thinking you are confused.


    • How are you sending these requests? Is it an HTML, Soap, Rest etc request?

    • Is this 5 files or 5 nodes? I hope nodes but I have seen developers do worse things (Sending XML files like this would be a massive waste of processing speed, storage and bandwidth).

    • Can you provide a sample of what you are attempting to accomplish? (The request itself, edit namespaces and such if need be in order to protect your API).


    Thanks!