Help on SQL datapopulation

2011-10-31 Thread itsbritto
Hi friends, Can any one give me basic guidelines on SQL operations in jmeter.As of now i'm comfortable with web request and all. And now in need to enter into SQL transaction and database connectivity operations.A simple need here: Need to create 100 user into the database field.. Any suggestion

Re: need help in parameterizing

2011-10-31 Thread Deepak Shetty
> jmeter is reading username and password from the csv file Did you verify this? Add a view results tree listener and check the data being sent or add a debug sampler just before the HTTP Request. if you see it as ${a} then in all likelihood your file isnt being picked up (and you should see an err

need help in parameterizing

2011-10-31 Thread shankykurella
hi all, i have parameterized username,and password from a csv file. csv looks as abc123,password abc1234,password i have placed csv file in bin folder... and added a csv data inside http request variable names are: a,b delimier: , recycle on eof : true stop thread on eof : true and under the ht

Re: Whether Jmeter can test sparql queries?

2011-10-31 Thread Deepak Shetty
I should probably mention that if you have JUNit cases then you can also use http://jakarta.apache.org/jmeter/usermanual/component_reference.html#JUnit_Request regards deepak On Mon, Oct 31, 2011 at 4:10 PM, Nalini wrote: > Thanks a lot deepak. > > Regards > Nalini > > -- > View this message in

Re: Whether Jmeter can test sparql queries?

2011-10-31 Thread Nalini
Thanks a lot deepak. Regards Nalini -- View this message in context: http://jmeter.512774.n5.nabble.com/Whether-Jmeter-can-test-sparql-queries-tp4953723p4953841.html Sent from the JMeter - User mailing list archive at Nabble.com. -

Re: Whether Jmeter can test sparql queries?

2011-10-31 Thread Deepak Shetty
http://jakarta.apache.org/jmeter/usermanual/component_reference.html#Java_Request http://stackoverflow.com/questions/2379688/testing-java-classes-with-jmeter and others available with a google search regards deepak On Mon, Oct 31, 2011 at 3:46 PM, Nalini wrote: > Yes,We are using Java library.

Re: generate variable from file

2011-10-31 Thread sebb
On 27 October 2011 21:58, Tonimenen wrote: > Sebb, > > Have you been able to see why _StringFromFile misses the first input of the > file ? Am I doing anything wrong in my jmx ? No, because I don't know what your JMX looks like. Don't send it to the list; upload it somewhere public and post the

Re: Whether Jmeter can test sparql queries?

2011-10-31 Thread Nalini
Yes,We are using Java library. But we are not using either JDBC or JDBC4 sparql. We are usingSesame, open RDF for this. When you talk about java samplers: Is that the java request in Sampler option or is this something other? Can you please share some more information on Java Samplers in Jmet

Re: Whether Jmeter can test sparql queries?

2011-10-31 Thread Deepak Shetty
Hi what library do you use to execute sparql queries in your application? - If you use any java library , you can do the same from a Java Sampler in Jmeter. If you use something like http://code.google.com/p/jdbc4sparql/ then you can also use the JDBC sampler in Jmeter regards deepak On Mon, Oc

Re: Whether Jmeter can test sparql queries?

2011-10-31 Thread Nalini
Sorry i am not getting you. We don't use JDBC driver. But still can we test sparql queries with Jmeter? Then how can we do that? Can you share some links on that. Thanks in advance Regards Nalini -- View this message in context: http://jmeter.512774.n5.nabble.com/Whether-Jmeter-can-test-sparql-

Re: JMeter, nginx and content-length

2011-10-31 Thread Deepak Shetty
if thats the case , isnt the problem with your proxy? On Mon, Oct 31, 2011 at 11:25 AM, Stevo Slavić wrote: > Btw, when the request is smallish, it passes through to the Tomcat and > gets processed well. > > On Mon, Oct 31, 2011 at 7:07 PM, Stevo Slavić wrote: > > Hello JMeter users, > > > > A

Re: Whether Jmeter can test sparql queries?

2011-10-31 Thread Deepak Shetty
If you use the JDBC driver then yes. Otherwise there is always the Java sampler regards deepak On Mon, Oct 31, 2011 at 3:08 PM, Nalini wrote: > Hi > > I know we can test Mysql queries from Jmeter. But what about sparql > queries? > Can jmeter test sparql queries? My application uses triple stor

Whether Jmeter can test sparql queries?

2011-10-31 Thread Nalini
Hi I know we can test Mysql queries from Jmeter. But what about sparql queries? Can jmeter test sparql queries? My application uses triple storage as database. Can anyone please help me on this? With Regards Nalini Ravikumar -- View this message in context: http://jmeter.512774.n5.nabble.com/W

Re: Some steps not recorded through HTTP Proxy Server

2011-10-31 Thread David Luu
Rather than use a proxy or as Bruce mentions when proxying is blocked/excluded, or when dealing with Flash, Silverlight, and Java applets, you might try this solution I used: http://www.codeproject.com/KB/perl/webautomaton.aspx A knowledgeable person can even modify the sample parser script in th

Re: JMeter, nginx and content-length

2011-10-31 Thread Stevo Slavić
Btw, when the request is smallish, it passes through to the Tomcat and gets processed well. On Mon, Oct 31, 2011 at 7:07 PM, Stevo Slavić wrote: > Hello JMeter users, > > A simple test with SOAP/XML-RPC Request sampler is failing for me when > trying to access Java application deployed on Tomcat

JMeter, nginx and content-length

2011-10-31 Thread Stevo Slavić
Hello JMeter users, A simple test with SOAP/XML-RPC Request sampler is failing for me when trying to access Java application deployed on Tomcat through nginx (nginx returns 408). When test is configured to send directly the request to Tomcat it works. Not sure yet but it seems JMeter is sending wr

Re: How to test webbased application based on jaxb

2011-10-31 Thread Peter Peterse
Maybe you should look to the XPath Extractor. With XPath you can go into the XML. Regards, Peter > Hi, > > Thanks for your reply. > > I cannot record the xml response, as jmeter doesn't seem to recognise the > xml content in the dynamic url. I m not sure how i can use a regular > expression, sinc

Re: Some steps not recorded through HTTP Proxy Server

2011-10-31 Thread Bruce Ide
The only time I personally have seen this happen is when I was testing a page that was set up in the "exceptions" portion of the browser proxy configuration to not be proxied. Companies commonly exclude their intranet from proxying so as to not make additional traffic on the network and proxy serve

Re: Proxy server exceptions

2011-10-31 Thread Shmuel Krakower
Hi, I've managed to find what I looked for. In order to tell JMeter not to use the proxy configuration for specific hosts add the following anywhere in the jmeter.properties file: http.nonProxyHosts=Host.To.Be.Accessed.Directly This works for both Java and HTTPClient Samplers. Shmuel Krakower. O

Re: How to test webbased application based on jaxb

2011-10-31 Thread jtester
Hi, Thanks for your reply. I cannot record the xml response, as jmeter doesn't seem to recognise the xml content in the dynamic url. I m not sure how i can use a regular expression, since it is a xml content and not html. -- View this message in context: http://jmeter.512774.n5.nabble.com/How-t

Proxy server exceptions

2011-10-31 Thread Shmuel Krakower
Hi All, I am load testing an intranet web site which some of it's resources are being hosted by external web site, meaning that if I check "get all resources" for it and not setting a proxy server and port, it will fail to get these specific resources. When I set the proxy and proxy port at the sam

Re: How to test webbased application based on jaxb

2011-10-31 Thread ZK
jtester wrote: > > Hi, > I m new to jmeter, I m having trouble doing a load test on a jaxb webbased > application. Please shed some light > > Ex: I have a request url and a confirmation url. > > 1.In the request url i give some data in the fields and click on submit. A > dynamic url is created

How to test webbased application based on jaxb

2011-10-31 Thread jtester
Hi, I m new to jmeter, I m having trouble doing a load test on a jaxb webbased application. Please shed some light Ex: I have a request url and a confirmation url. 1.In the request url i give some data in the fields and click on submit. A dynamic url is created and shows a unique id for the subm

Some steps not recorded through HTTP Proxy Server

2011-10-31 Thread seventhlie
Hi All I am fairly new to JMeter. I am trying to record my browsing of the website I want to test. I setup everything (recording controller, listener, http proxy server). The problem arises when I try to record logging in to the website. The results tree (listener) shows the results of me loggin