You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by sginsbourg <sg...@gmail.com> on 2012/07/12 10:38:00 UTC
REGEXing an ASCII file
Hi,
In order to verify a specific software action, we need a REGEX
post-processor that applies to an ASCII file on the client side (instead of
REGEXing the server response as usual).
What would be the preferred method of implementing such a non-standard REGEX
application?
All suggestions are welcomed and appreciated.
Shay
--
View this message in context: http://jmeter.512774.n5.nabble.com/REGEXing-an-ASCII-file-tp5713989.html
Sent from the JMeter - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
For additional commands, e-mail: user-help@jmeter.apache.org
Re: REGEXing an ASCII file
Posted by ZK <st...@gmail.com>.
no probs,
just found out that you don't need anything in the 'server name or IP', so
you could remove the: ///
ZK
--
View this message in context: http://jmeter.512774.n5.nabble.com/REGEXing-an-ASCII-file-tp5713989p5713993.html
Sent from the JMeter - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
For additional commands, e-mail: user-help@jmeter.apache.org
Re: REGEXing an ASCII file
Posted by sginsbourg <sg...@gmail.com>.
Works like magic!
Thank you.
Shay
On Thu, Jul 12, 2012 at 11:49 AM, ZK [via JMeter] <
ml-node+s512774n5713990h38@n5.nabble.com> wrote:
> Hi,
>
> you could use a HTTP Request Sampler:
> Set:
> Server Name or IP = ///
> Implementation <BLANK> <- meaning empty field
> Protocol = file
> Path = C:/Users/Shay/Documents/ascii.txt <- or where ever the ascii file
> is located on the client machine
>
> then regEx as normal
>
>
> ZK
>
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
>
> http://jmeter.512774.n5.nabble.com/REGEXing-an-ASCII-file-tp5713989p5713990.html
> To unsubscribe from REGEXing an ASCII file, click here<http://jmeter.512774.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5713989&code=c2dpbnNib3VyZ0BnbWFpbC5jb218NTcxMzk4OXwyMDI0OTUzNzA0>
> .
> NAML<http://jmeter.512774.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
--
Regards,
Shay Ginsbourg
Regulatory & Testing Affairs Consultant
WWW.GINSBOURG.COM
Providing Regulatory, Medical & Performance Testing services since 2008:
* IEC 62304 Medical Device Software Life Cycle
* IEEE 829 Software Test Documentation
* ISO 14971 Medical Device Risk Management
* FDA 21 CFR Part 11 Software Validation
* IEC 60601-1:2005 3rd ED PEMS - Medical Electrical Equipment
* End-to-end verification, validation, and testing (VV&T)
* FDA and CE submissions
* Open source free testing tools implementation
* Functionality and regression testing
* Software Performance & Load testing
* Software Testing Advanced Automation
* Medical Software Verification & Validation
* Medical Device Verification & Validation
* Medical Device Regulatory Submission
* Organizational Regulatory Qualification
Formerly QA Manager of LoadRunner at Mercury Interactive
M.Sc. cum laude in Bio-Medical Engineering
M.Sc. in Mechanical Engineering
Work: +972(0)3-5185873
Mobile: +972(0)54-6690915
Email: sginsbourg@gmail.com
Visit my personal page on LinkedIn at:
http://www.linkedin.com/in/shayginsbourg
Please consider your environmental responsibility before printing this
e-mail.
--
View this message in context: http://jmeter.512774.n5.nabble.com/REGEXing-an-ASCII-file-tp5713989p5713991.html
Sent from the JMeter - User mailing list archive at Nabble.com.
Re: REGEXing an ASCII file
Posted by ZK <st...@gmail.com>.
Hi,
you could use a HTTP Request Sampler:
Set:
Server Name or IP = ///
Implementation <BLANK> <- meaning empty field
Protocol = file
Path = C:/Users/Shay/Documents/ascii.txt <- or where ever the ascii file is
located on the client machine
then regEx as normal
ZK
--
View this message in context: http://jmeter.512774.n5.nabble.com/REGEXing-an-ASCII-file-tp5713989p5713990.html
Sent from the JMeter - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
For additional commands, e-mail: user-help@jmeter.apache.org