Closed MaryWX1118 closed 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.
Thanks Joaquin! I tried once just now, it works.
Issue closed.
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.
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