Skip to content

Unable to login to AS400 TN5250 via JMeter RTE plugin when masked password field contains special character #49

Description

@renuagg-ctrl

We are facing an issue while automating login to an AS400 TN5250 application using the BlazeMeter RTE JMeter plugin.

If the password field (masked field) contains a special character (e.g. @), login fails via automation, whereas the same credentials work successfully when logging in manually using a TN5250 emulator.

Environment

JMeter version: 5.4.1
RTE Plugin version: bzm-rte 3.3.1
Protocol: TN5250
Emulator used for manual login: TC5250 (manual login works)
OS: Windows

Steps to Reproduce
Configure RTE Sampler for TN5250 login screen
Enter username (visible field) – works as expected
Enter password in masked field containing special character (e.g. Abc@123)
Execute test

Observed Behavior
Login fails when password contains special characters in masked field - it says that password is not correct
Payload verification confirms that the special character (e.g. @) is being sent correctly
Issue occurs with all input methods tried:
Input by Position
Input by Label
Input by Navigation

Have also tried RTE recorder. via that also login is not successful

Expected Behavior
Login should succeed if the password value is correct, similar to manual TN5250 login
RTE plugin should handle masked fields consistently with visible fields

Additional Observations
Special characters work correctly in visible (non-masked) fields
Same password works when entered manually in TN5250 emulator
Issue appears specific to masked password fields and special characters
Alphanumeric-only passwords work via RTE plugin

Question

Is this a known limitation of the RTE plugin / TN5250 implementation, or is there any recommended workaround to handle masked password fields containing special characters?
Impact
This blocks automation of AS400 login flows where password policies mandate special characters.

Pls help as I am stuck here..

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions