IBM Support

PM75189: PUBLISHING VALIDATION ACTIONS DO NOT WORK

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • STEPS TO REPRODUCE:
    In a message publisher action add a validation action to one of
    the message fields.  For example a length validation
    
    EXPECTED RESULTS:
    Publishing a value longer than the length limit should fail with
    Validation Error.
    
    ACTUAL RESULTS:
    Publishing does not fail.
    
    HISTORICAL INFORMATION:
    This issue was previously GHT5-24640
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Users of GH Tester and Rational Integration Tester who wish  *
    * to validate messages that are being published from Tester.   *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * Tester allows a user to add validation to both subscribe     *
    * (receive) and publish (send) messages.  It is extremely      *
    * common to validate received messages to check that the       *
    * system-under-test replied in the correct way.  It is less    *
    * common, but possible, to set up validation on a message that *
    * is being published from Tester to ensure it is correct. The  *
    * reason it is less common is that the user has probably       *
    * constructed the message by hand or sourced it from a         *
    * known-good recording so it is known to be valid.             *
    *                                                              *
    * However, there are certainly use cases when validating the   *
    * sent message is desirable.  For example, if sourcing test    *
    * data from a spreadsheet then adding a length validation to a *
    * field to ensure an 'invalid' message isn't sent due to a     *
    * mistake in the spreadsheet.                                  *
    *                                                              *
    * A defect in Tester means that even if a user does add a      *
    * validation action onto a SendRequest or Publish action it    *
    * will be ignored and the test will not fail if the message is *
    * invalid.                                                     *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to a version of Tester in which this problem has     *
    * been fixed.                                                  *
    ****************************************************************
    

Problem conclusion

  • This defect was fixed in Green Hat Tester 5.4.0.20 and Rational
    Integration Tester 8.0.1.3 (and later).   In these versions
    validations on publish/send actions will run correctly and if
    the validation fails the test will fail.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM75189

  • Reported component name

    GREEN HAT TESTE

  • Reported component ID

    5725G79GT

  • Reported release

    540

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-10-17

  • Closed date

    2013-07-03

  • Last modified date

    2013-07-03

  • 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

    GREEN HAT TESTE

  • Fixed component ID

    5725G79GT

Applicable component levels

  • R540 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSGNUH","label":"Green Hat Tester"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"5.4","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
03 July 2013