Forum Discussion

joan_fisher's avatar
joan_fisher
Occasional Contributor
15 years ago

in need of an example how to feed response into a request...

Can some one please provide me with an example I could mimic of how I could grab one or two parameters in a response and feed them into the corresponding two parameters of a request?  Specifically, I have a fetch and save pairing in my test case....I want to be able to fetch a record, alter a parameter in the result and save the change.....I am having trouble implementing this!! Much thanx!

3 Replies

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

    sure! Are the SOAP responses/requests or "just" REST/HTTP? Can you show the source and target message you want to transfer between?

    regards!

    /Ole
    eviware.com
  • joan_fisher's avatar
    joan_fisher
    Occasional Contributor
    Hi Ole! Sorry for the delayed reply to your query..I was pulled onto another project so shelved this conundrum temporarily!! Anyway...it is a soap request/response chain:
    (I am fetching a particular record and want to change one of the fields of that record to Approved and execute a request to save this changed record....)

    request:



         
           
            ?
           
            ?
           
            ?
           
            ?
         

     

     
         
           
           
               
                ?
               
                ?
               
                ?
                ?
                ?
                ?
                ?
           

         

     


    response:


     
         
           
                831643
                Success
               
                 
                      1624
                      5633
                      Monthly
                      PendingApproval
                      100.0000
                      0.0000
                      100.0000
                      2.1000
                     
                     
                      BREMERTON
                      false
                      2.1000
                      2009-10-22T20:51:49.667
                     
                      false
                      false
                      0001-01-01T00:00:00
                      0
                      false
                      PaperReturn
                      0.0000
                      0.0000
                     
                      0
                      100.0000
                      0.0000
                     
                     
                      2.1000
                      2.1000
                      0.0000
                      0.0000
                      false
                      0.0000
                      0.0000
                      0.0000
                      0.0000
                      0.0000
                      0.0000
                      0001-01-01T00:00:00
                      0
                     
                      0
                 

               

                1
           

         

     

    Hope this is enough info to give you an idea of what I need!
    Thanx for your help!!
    Joan