Service Virtualization

 View Only
  • 1.  Pass the dynamic header value sent in request to be part of header value in response

    Posted Oct 21, 2020 03:42 PM
    Hi,
    I have 3 headers Header1, Header2 and Header3 and the value of these are dynamic.
    Header1: 200
    Header2: 100
    Header3: 1
    Above header values changes with every request.

    I need the same header name and header values also to be present as part of response headers.

    I am using Json request and response pairs.

    Can you please help


  • 2.  RE: Pass the dynamic header value sent in request to be part of header value in response

    Broadcom Employee
    Posted Oct 21, 2020 03:46 PM

    Please review your first thread that was answered here:

    https://community.broadcom.com/enterprisesoftware/communities/community-home/digestviewer/viewthread?GroupId=1843&MessageKey=972a5d6a-6810-458d-a9df-433a089b0c03&CommunityKey=94bda077-625b-4914-8ac3-c88a06c2cc23&tab=digestviewer&ReturnUrl=%2fenterprisesoftware%2fcommunities%2fcommunity-home%2fdigestviewer%3fcommunitykey%3d94bda077-625b-4914-8ac3-c88a06c2cc23%26tab%3ddigestviewer

    If you need further help please update that thread instead of reposting the same question again and we will try and help you on the original thread.



    ------------------------------
    Gene Howard
    Principal Support Engineer
    Broadcom
    ------------------------------



  • 3.  RE: Pass the dynamic header value sent in request to be part of header value in response

    Broadcom Employee
    Posted Oct 21, 2020 03:51 PM
    it looks like this was also answer for you here as well.
    https://community.broadcom.com/enterprisesoftware/communities/community-home/digestviewer/viewthread?GroupId=1843&MID=806728&CommunityKey=94bda077-625b-4914-8ac3-c88a06c2cc23&tab=digestviewer&ReturnUrl=%2fenterprisesoftware%2fcommunities%2fcommunity-home%2fdigestviewer%3fcommunitykey%3d94bda077-625b-4914-8ac3-c88a06c2cc23%26tab%3ddigestviewer

    ------------------------------
    Gene Howard
    Principal Support Engineer
    Broadcom
    ------------------------------



  • 4.  RE: Pass the dynamic header value sent in request to be part of header value in response

    Posted Oct 22, 2020 01:46 AM
    Edited by Vaibhav Jain Oct 22, 2020 01:46 AM
    Hi ,

    You can use Request Data Copier  or Request Data Manager for the same.

    Also, if you have SOAP header, you can use SOAP Header data protocol to manipulate the header values.

    Thanks


    ------------------------------
    Regards,
    Vaibhav Jain
    Capgemini
    ------------------------------