Blazemeter / RTEPlugin

JMeter RTE (TN5250, TN3270 & VT420) plugin for testing Mainframe applications
Apache License 2.0
19 stars 11 forks source link

Pause/Break or Clear Screen does not work in RTEPlugin #37

Open theresaralph opened 2 weeks ago

theresaralph commented 2 weeks ago

I need to perform a Clear Screen or a Pause Break on the RTEPlugin. The usual keys (fn + B) - works on my keyboard for the normal TN3270.

When I try the same on the RTEPlugin - nothing occurs. If I try other options - I get an error that Attn keys are not supported.

Please assist as nothing seems to work and I need this function for my script.

Thanks T

Baraujo25 commented 2 weeks ago

Hello @theresaralph,

Have you tried pressing the Pause button or Command + F2?

For future references, you might want to take a look at the embedded helper in the emulator. It's located at the bottom right corner with a question mark icon.

Please, let me know how did it go

theresaralph commented 2 weeks ago

Hello Araujo

I have a DELL Laptop which does not have a PAUSE button. When using the PASSPORT to Host App – They key combination that works for a PAUSE/BREAK is (fn + B).

I think that only APPLE laptops have a Command key.

@.***

This CLEAR option in RTEPlugin does not do anything?

When I try and record – the same keystrokes (fn + B) do not work with the RTEPlugin?

Your help is appreciated

Kind Regards Theresa

From: Joaquin Araujo @.> Sent: Wednesday, June 12, 2024 12:15 PM To: Blazemeter/RTEPlugin @.> Cc: Ralph, Theresa @.>; Mention @.> Subject: Re: [Blazemeter/RTEPlugin] Pause/Break or Clear Screen does not work in RTEPlugin (Issue #37) - [External Email]


CAUTION - EXTERNAL SENDER - Please be careful when opening links and attachments! FNB Cyber Security Office.

Hello @theresaralphhttps://secure-web.cisco.com/1QHuyQLLmeUh1D30U5dasR8M0B7YOflbVJPoD4KviTIc5DvNv6rK5gBJyLxoAtTSwbk72XdbB_9RP9-Nx6Le0rBSZhftRzbvjQC1wcCbOv--00UYXTsqoWn8z6uiOzriFi1gMDZyrn0Ny5UFOX4gLxtzq--8thXXPoFVSVMu6UmjgcJkVc87t0ljIqPGiI238_GzKlk3d3B-OsFLuI-1qtwR14NtsqPZubV_H_VZaBUcB9bTTMPma-x7DUFhwr6B8IpXJCQe-X6c9NEjpxRx3EqhSPMx8vmDSxyckesudO55Fv7iDNZ54ZpHkSHmHJVGs/https%3A%2F%2Fgithub.com%2Ftheresaralph,

Have you tried pressing the Pause button or Command + F2?

For future references, you might want to take a look at the embedded helper in the emulator. It's located at the bottom right corner with a question mark icon.

Please, let me know how did it go

— Reply to this email directly, view it on GitHubhttps://secure-web.cisco.com/1YOFo3b22YdhrB7OoPvNe8CS_6RwUNNc1-4hQCfXt4LjQUgmIvE6cTP_4wYGkrPTJCvRkNMfZVqtV593e84p_TTkhkh6ozxgWyGGhW4vcRbJ3bmIP0ie2D_Si5iBYPaPLgzhOXWhTDTCr8PUGXMFdIPbMh0ooHb-kV-jQ8heBFkpN0Ud4aul66ck9POnJkD3d7SVISlQnjuD4niO5E4B1G-MdoAtdg5UaTNqXldI7jz9JGxBgPyKBdzHQi0cgFbkSwqI01-pIp6X1SldO3lIA7qXHF1APNzLjguye6oJnVm9LzrEhXNZuuXKK7Q2-H7vm/https%3A%2F%2Fgithub.com%2FBlazemeter%2FRTEPlugin%2Fissues%2F37%23issuecomment-2162636702, or unsubscribehttps://secure-web.cisco.com/1hmxznMc1A0wBBf92tOTxyIPDntDCk1G-L1_awy5vTf4lpQzeAy-2AmUFeOu4kbyPsdNNBV2xMwmlzrpgEpWxjwTX8z6fnKmje6ze-lsn4UO8G2obzAvjzfvdBND6kO9LAOciu1xfPTpKljldVdcPJje6Qx6bKHYYro8w3sknQetkFw_S-yCFKb7YvyO5hlBSYJmZQ19qIg4vjd2HBjyEcyz2l3TxbPPjbiTrXTgyM9CpLP5uBXMB2c8UhGsFR3k_35hfa8bJNL2YcpH_QKkUTYGYcs2HuSYbKyhjbfaMYytEdRPCS72rFwK6ap8q3DOK/https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FBJD7YMLH23HQWWXYKQE47ZLZHANSVAVCNFSM6AAAAABJF7MCO6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNRSGYZTMNZQGI. You are receiving this because you were mentioned.Message ID: @.**@.>>

This email is subject to a disclaimer.

Visit the FNB website and view the email disclaimer and privacy notice by clicking the "About FNB + Legal" and "Legal Matters" links. If you are unable to access our website, please contact us to send you a copy of the email disclaimer or privacy notice.

Baraujo25 commented 2 weeks ago

I'm back with you @theresaralph,

Seems that your laptop does not have a fisical Pause key for the RTEPlugin to translate it into a CLEAR signal.

Is it possible for you to try using the On-Screen Keyboard provided by Windows?

image

theresaralph commented 2 weeks ago

Good Day

I tried that now to and it still does not register the "Pause" button while recording using the RTEPlugin and the Windows Keyboard? I hit the Pause button on the Windows Keyboard and nothing happens? All other key strokes using the Windows Keyboard do get recorded.

Kind Regards Theresa

theresaralph commented 2 weeks ago

image

theresaralph commented 1 week ago

Good Day

Any feedback?

Kind Regards

Baraujo25 commented 1 week ago

Theresa,

The plugin should be able to capture the PAUSE button and translate it as a CLEAR command while using the TN3270 protocol.

As per your comments seems that something isn't working properly on your side.

We need to better understand the problem by having the following information:

  1. What's you current RTEPlugin version?
  2. After pressing the PAUSE button, do you get a recorded sampler with the attention key CLEAR in it?
  3. Can you turn debug level on JMeter and send us the jmeter.log with us?

Bests

theresaralph commented 4 days ago

Good Day Joaquin Araujo

Please see the answers below in RED

Kind Regards Theresa

From: Joaquin Araujo @.> Sent: Tuesday, June 18, 2024 6:38 PM To: Blazemeter/RTEPlugin @.> Cc: Ralph, Theresa @.>; Mention @.> Subject: Re: [Blazemeter/RTEPlugin] Pause/Break or Clear Screen does not work in RTEPlugin (Issue #37) - [External Email]


CAUTION - EXTERNAL SENDER - Please be careful when opening links and attachments! FNB Cyber Security Office.

Theresa,

The plugin should be able to capture the PAUSE button and translate it as a CLEAR command while using the TN3270 protocol.

As per your comments seems that something isn't working properly on your side.

We need to better understand the problem by having the following information:

  1. What's you current RTEPlugin version? Bzm-rte-3.3
  2. After pressing the PAUSE button, do you get a recorded sampler with the attention key CLEAR in it? –
    • When using the Windows Keyboard – nothing gets recorded. No sampler
    • When using my DELL keyboard (fn + b) – I get a recorded sampler with the attention key CLEAR in it, BUT nothing happens on the RTE Screen? (bzm-RTE-SEND_INPUT-4)
  3. Can you turn debug level on JMeter and send us the jmeter.log with us? – please see attached

Bests

— Reply to this email directly, view it on GitHubhttps://secure-web.cisco.com/1hdUnt71MwXN9pG7B1ILuTPHMF_Yep3JzkGw4g_B56ptilQivJcXy1Iigo-icVVyq9Sn67aqUt5ZkXiOoR5xpWj3anf1CTAXh8kSmo_sQEnb17ZAwiZiBJSw6utsbnuDhsuugFkGGIVrrFRTNEGjugQpNeLqQ7ezlAUP2czc4-6gn8W-0ZE_HswHTPFbNgB9vypPEvGemHTGJdPUIDbLe9NZKyZzVnkGF7TYQRFmUHXpL4OLvqGodjUkKGlTs27-8FHNmLFxC_mifOfvza7avozlVsLpsTxEYwzfF-kDutPpT3KztUq7EC-b62wNkyXYN/https%3A%2F%2Fgithub.com%2FBlazemeter%2FRTEPlugin%2Fissues%2F37%23issuecomment-2176529561, or unsubscribehttps://secure-web.cisco.com/1qJlU1orZC4_Mwe2pR1rs3vhRBZABrhdbrgkYeG85ZoOHFAFYA7YzycE8zMy9Pbd5dDV_70qeogY4773PG44JCDfbLAlm6pLbW25B3zm1_fv1QnwgJtFQXRpTIoLjIKIEo-JOMaJu8PWLJ9gGW0USyLGli8H4rT5GHacVWap9a3RMlMIXdp3i-9nPSlxJgVZ0k-TsOojz8n8CpDoxi4Y1plBYKhX4ZTHNw-gQmd40Q2YP4jULd0p8htlgMGAGa8du9UzXxLAg6WDxUXSlynqL4yyrbhWqbEu03JOaHUGHakXsqNrvpc0oRFNKQ_H6tnDJ/https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FBJD7YMN7Z5HD5IDNU3UBLVDZIBO5NAVCNFSM6AAAAABJF7MCO6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNZWGUZDSNJWGE. You are receiving this because you were mentioned.Message ID: @.**@.>>

This email is subject to a disclaimer.

Visit the FNB website and view the email disclaimer and privacy notice by clicking the "About FNB + Legal" and "Legal Matters" links. If you are unable to access our website, please contact us to send you a copy of the email disclaimer or privacy notice.

Baraujo25 commented 2 days ago

Theresa,

First of all, I have to advice you that when you replay to this conversation the email thread is attached. Meaning that some company information is disclosed in your replay. You may want to use Github for replaying to this thread to avoid possible sensitive information disclosure.

By the way, since you have replayed using you email provider, the attachment of the jmeter.log ins't available for me to take a look at it.

Aside from that, all the information you provided is useful to try to detect the root cause of the issue.

I will like to test the following with you:

  1. Open Jmeter with the RTE Recording Template
  2. Record the flow until the point you have to send the CLEAR command
  3. Close the recorder
  4. Open the recording controller element
    • You will visualize all the recorded samplers
  5. Add a new RTE Sampler (before disconnect sampler)
  6. Configure the new sampler with CLEAR attention key
  7. Open the View Result Tree that isn't inside the RTE Recorder element
  8. Run the testplan
  9. Review the Response data of the new Sampler you created and verify if the CLEAR worked
theresaralph commented 2 days ago

Good Day B

I did exactly what you suggested above and I still have the same issue as before:

  1. The RTE Sampler that I inserted (before the disconnect sampler) - Did not clear the screen.
  2. The Response Data shows exactly the same screen as the previous RTE Sampler.
  3. Any other suggestions?

Regards Theresa

Baraujo25 commented 1 day ago

Theresa,

Now it's enough information to conclude that, either:

  1. The plugin is sending an incorrect CLEAR command (which we haven't receive any complains until now but I don't discard)
  2. The mainframe app that you are using has key sequences to send a different command that is, at the end, perceived as a CLEAR

For both scenarios I will need a TCP dump done using your daily basis emulator. That will show us the happy path. The actual way the RTE Emulator should send the 'CLEAR' signal you try to accomplish.

In order to build the TCP dump you can check the following documentation on our wiki.

Thanks