IBM Support

PI21939: DUPLICATE REPLY HTTP HEADER VALUES ARE LOST

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • Attempts to add multiple HTTP header entries of the same type to
    a reply message fail.  For example you add 2 Set-Cookie headers.
    
    If you add more than one of these, when you re-open the header
    only the last one is present.
    Any header that is duplicated is affected.
    
    STEPS:
    
    1. Create an HTTP request-reply stub.
    2. Edit the Reply Header.
    3. Add 2 Set-Cookie entries with different values.
    4. Close and re-open the stub.
    
    
    EXPECTED RESULTS:
    
    All HTTP headers are present.
    
    
    ACTUAL RESULTS:
    
    Only the last Set-Cookie is present.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All users of Rational Integration Tester using the http      *
    * transport                                                    *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * The HTTP cookie specification allows for multiple set-cookie *
    * headers to be received from a server.  This is the only      *
    * header where multiple header instances are explicitly        *
    * required due to the use of ',' in the expiry date.  However, *
    * if a user attempts to add multiple set-cookie headers in a   *
    * Rational Integration Tester message editor then the tool     *
    * behaves inconsistently and will not correctly send the       *
    * multiple values.  Users are not able to create a message     *
    * that contains multiple set-cookie headers.                   *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • From Rational Integration Tester 8.6.0.1 multiple "set-cookie"
    headers can now be configured in HTTP response messages.  Due to
    the way it was added in the 8.6.0.x stream means that it is
    opt-in functionality.  To enable it users must run RIT and the
    RIT Agent with the following -D option:
    
    -Dgreenhat.http.supportMutlipleSetCookieHeaders=true
    
    It is possible to add them either in the "Config / HTTP Headers"
    or in the "Value / Message Header" tab in the response editor.
    
    It is IBM's expectation that in the next major release of
    Rational Integration Tester this behaviour will be on by
    default.
    
    This is also available as a patch to 8.5.1.3.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI21939

  • Reported component name

    RATL INTEGRA TE

  • Reported component ID

    5725G79IT

  • Reported release

    851

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-07-14

  • Closed date

    2014-09-02

  • Last modified date

    2014-09-02

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    RATL INTEGRA TE

  • Fixed component ID

    5725G79IT

Applicable component levels

  • R800 PSN

       UP

  • R801 PSN

       UP

  • R850 PSN

       UP

  • R851 PSY

       UP

  • R860 PSY

       UP



Document information

More support for: Rational Test Workbench

Software version: 8.5.1

Reference #: PI21939

Modified date: 02 September 2014