Re: Accessing JDBC Connection Configuration in BeanShell Post-Processor

2010-03-02 Thread Peter
wrote: Hi! In my testplan I am using the JDBC Connection Configuration Element. In a BeanShell Post-Processor I am doing database-checks using a beanshell-script. How can I access in the script the JDBC Connection Configuration element from the testplan so that I do not have to manage

Re: Accessing JDBC Connection Configuration in BeanShell Post-Processor

2010-03-02 Thread sebb
) Why cant you use the JDBC sampler directly? regards deepak On Thu, Feb 18, 2010 at 10:59 PM, Peter peterg1...@gmail.com wrote: Hi! In my testplan I am using the JDBC Connection Configuration Element. In a BeanShell Post-Processor I am doing database-checks using

Accessing JDBC Connection Configuration in BeanShell Post-Processor

2010-02-18 Thread Peter
Hi! In my testplan I am using the JDBC Connection Configuration Element. In a BeanShell Post-Processor I am doing database-checks using a beanshell-script. How can I access in the script the JDBC Connection Configuration element from the testplan so that I do not have to manage the JDBC-config

Re: Accessing JDBC Connection Configuration in BeanShell Post-Processor

2010-02-18 Thread Deepak Shetty
I am using the JDBC Connection Configuration Element. In a BeanShell Post-Processor I am doing database-checks using a beanshell-script. How can I access in the script the JDBC Connection Configuration element from the testplan so that I do not have to manage the JDBC-config on multiple

Re: Executing XPath Expressions in a Beanshell Post-Processor

2009-07-24 Thread Noel O'Brien
of the task, I decided to do it with a Beanshell Post-Processor. I first spiked the code in Java and everything worked. However when I moved it into JMeter/Beanshell, the evaluation of the XPath expressions always returns 0 nodes. Making the Document namespace-aware makes no difference

Re: Executing XPath Expressions in a Beanshell Post-Processor

2009-07-24 Thread sebb
feed. I then need to sort the entries, store them, and compare them against subsequent feeds. Given the complexity of the task, I decided to do it with a Beanshell Post-Processor. I first spiked the code in Java and everything worked. However when I moved it into JMeter/Beanshell

Re: Executing XPath Expressions in a Beanshell Post-Processor

2009-07-24 Thread Noel O'Brien
against subsequent feeds. Given the complexity of the task, I decided to do it with a Beanshell Post-Processor. I first spiked the code in Java and everything worked. However when I moved it into JMeter/Beanshell, the evaluation of the XPath expressions always returns 0

Re: Executing XPath Expressions in a Beanshell Post-Processor

2009-07-24 Thread sebb
it with a Beanshell Post-Processor. I first spiked the code in Java and everything worked. However when I moved it into JMeter/Beanshell, the evaluation of the XPath expressions always returns 0 nodes. Making the Document namespace-aware makes no difference. The document parses fine, and printing out new

Re: Executing XPath Expressions in a Beanshell Post-Processor

2009-07-24 Thread Noel O'Brien
many values from an XML feed. I then need to sort the entries, store them, and compare them against subsequent feeds. Given the complexity of the task, I decided to do it with a Beanshell Post-Processor. I first spiked the code in Java and everything worked

Re: Executing XPath Expressions in a Beanshell Post-Processor

2009-07-23 Thread sebb
them against subsequent feeds. Given the complexity of the task, I decided to do it with a Beanshell Post-Processor. I first spiked the code in Java and everything worked. However when I moved it into JMeter/Beanshell, the evaluation of the XPath expressions always returns 0 nodes. Making

Executing XPath Expressions in a Beanshell Post-Processor

2009-07-22 Thread Noel O'Brien
Hi, I have to extract an correlate many values from an XML feed. I then need to sort the entries, store them, and compare them against subsequent feeds. Given the complexity of the task, I decided to do it with a Beanshell Post-Processor. I first spiked the code in Java and everything worked

Variable substitution in BeanShell Post Processor

2009-03-31 Thread Kannan, Sengamalam
Regular Expression Variable names are DateVal_1, DateVal_2, etc. In a for-loop within Beanshell post processor, I want to use these variables using variable substitution like DateVal_i if i is counter variable. Problem: Tried the following code but didn't work. daten = vars.get(DateVal_matchNr

Re: Variable substitution in BeanShell Post Processor

2009-03-31 Thread sebb
On 31/03/2009, Kannan, Sengamalam sengamalam.kan...@aig.com wrote: Regular Expression Variable names are DateVal_1, DateVal_2, etc. In a for-loop within Beanshell post processor, I want to use these variables using variable substitution like DateVal_i if i is counter variable. Problem

RE: Variable substitution in BeanShell Post Processor

2009-03-31 Thread Kannan, Sengamalam
-Original Message- From: sebb [mailto:seb...@gmail.com] Sent: Tuesday, March 31, 2009 3:23 PM To: JMeter Users List Subject: Re: Variable substitution in BeanShell Post Processor On 31/03/2009, Kannan, Sengamalam sengamalam.kan...@aig.com wrote: Regular Expression Variable names are DateVal_1

RE: Variable substitution in BeanShell Post Processor

2009-03-31 Thread Kannan, Sengamalam
...@aig.com] Sent: Tuesday, March 31, 2009 3:30 PM To: JMeter Users List Subject: RE: Variable substitution in BeanShell Post Processor Thanks Sebb for your quick reply. Without using eval function if I try if (begin.equals(vars.get(DateVal_+p))) vars.get(LeaveNum_+i); is not working as its taking

Beanshell post processor

2008-04-03 Thread amalpushp
how can i invoke linux shell scripts on jmeter -- View this message in context: http://www.nabble.com/Beanshell-post-processor-tp16467962p16467962.html Sent from the JMeter - User mailing list archive at Nabble.com

Re: Beanshell post processor

2008-04-03 Thread sebb
BeanShell can call any Java methods; just use what you would use in Java. S. P.S. please don't post twice... On 03/04/2008, amalpushp [EMAIL PROTECTED] wrote: how can i invoke linux shell scripts from jmeter -- View this message in context: http://www.nabble.com/Beanshell-post-processor