Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
theresaralph opened this issue Jun 12, 2024 · 14 comments
Open

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

theresaralph opened this issue Jun 12, 2024 · 14 comments

Comments

@theresaralph
Copy link

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
Copy link
Collaborator

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
Copy link
Author

theresaralph commented Jun 12, 2024 via email

@Baraujo25
Copy link
Collaborator

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
Copy link
Author

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
Copy link
Author

image

@theresaralph
Copy link
Author

Good Day

Any feedback?

Kind Regards

@Baraujo25
Copy link
Collaborator

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
Copy link
Author

theresaralph commented Jun 24, 2024 via email

@Baraujo25
Copy link
Collaborator

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
Copy link
Author

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
Copy link
Collaborator

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

@theresaralph
Copy link
Author

theresaralph commented Jul 15, 2024 via email

@theresaralph
Copy link
Author

theresaralph commented Jul 25, 2024 via email

@3dgiordano
Copy link
Contributor

Hi @theresaralph

We found that different manufacturers have adapted different strategies to map the old Pause key to modern keyboards.
In Lenovo for example it is Fn + B, as in your case, but in Java in our case it internally ends up generating a combination of Ctrl + Cancel (similar to Ctrl + C).

We would need you to enable the Log level in JMeter to DEBUG level and record the key combination associated with the pause on the terminal. Press Fn + B and send us the needed lines of the log related to the keys events captured.

We only need the lines started with: DEBUG c.b.j.r.r.e.XI5250CrtBase: Processing key: ...

We need that information to confirm if internally in your computer generate the same combination as our Lenovo (The Ctrl + Cancel combination). In case you use some other combination, we will take it into account to incorporate it also in the future release.

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants