Blazemeter / RTEPlugin

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

Is it possible to get the text from AS400 screen by providing from/to row/column/length? #14

Closed MaryWX1118 closed 4 years ago

MaryWX1118 commented 4 years ago

I got this additional question when I am trying to explore more ... Is it possible to get/buffer the text from the screen by just providing from row/column/length?

say I have a scenario, as an operator, I am expected to create a ticket, and after the ticket is created successfully, in status bar session, I should be able to see the lines of message "A ticket number xxxxxx has been created successfully...".(this is an example only, there are many cases that we need to get those generated randomly by system and use them later.) I will need to get this ticket number and buffer it to some variable and then I can use the variable later to do search ticket, update ticket actions, etc.

Thanks! Mary

Baraujo25 commented 4 years ago

Hello @MaryWX1118 ,

The plugin does not have that functionality for itself, but, thanks to JMeter we can extract certain parts of the response body (screen) using a Regular Expression Extractor.

Please refer to this section, where is explained how to extract a part of the screen using a RegExExtractor. That part of the screen will be saved on a variable for later usage. It looks like suits perfect for your scenario.

As always, let me know if you have any inconvenience. I hope this helps you. I will be looking forward to your response.

Kind regards, Joaquin.

MaryWX1118 commented 4 years ago

Thanks Joaquin! I tried once just now, it works.

Issue closed.

MaryWX1118 commented 4 years ago

Thanks Joaquin! I tried once this morning, it works.

Thanks!

Mary Wu

Sent from Outlookhttp://aka.ms/weboutlook


From: Joaquin Araujo notifications@github.com Sent: Thursday, August 20, 2020 10:22 PM To: Blazemeter/RTEPlugin RTEPlugin@noreply.github.com Cc: MaryWX1118 yuhuan_m_wu@hotmail.com; Mention mention@noreply.github.com Subject: Re: [Blazemeter/RTEPlugin] Is it possible to get the text from AS400 screen by providing from/to row/column/length? (#14)

Hello @MaryWX1118https://github.com/MaryWX1118 ,

The plugin does not have that functionality for itself, but, thanks to JMeter we can extract certain parts of the response body (screen) using a Regular Expression Extractor.

Please refer to thishttps://github.com/Blazemeter/RTEPlugin/tree/v3.1#how-to-extract-a-value-on-the-screen-from-a-given-position section, where is explained how to extract a part of the screen using a RegExExtractor. That part of the screen will be saved on a variable for later usage. It looks like suits perfect for your scenario.

As always, let me know if you have any inconvenience. I hope this helps you. I will be looking forward to your response.

Kind regards, Joaquin.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/Blazemeter/RTEPlugin/issues/14#issuecomment-677696424, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AQOH36TLIVLXFUHHLDEXVUDSBUWRDANCNFSM4QF7V5GA.