Re: Disable JDBC query timeout

2018-11-20 Thread Deepak Shetty
Hi
as far as I can tell there isn't a way to do this (Short of downloading and
modifying the source code)- You will have to raise an enhancmeent  for
JMeter (https://jmeter.apache.org/issues.html )

AbstractJDBCTestElement.java in source code can be modified if you want to
use -1 or equivalent to represent no timeout and not call the timeout method

Can you also post your complete stack trace top verify ?

regards
deepak

On Tue, Nov 20, 2018 at 4:57 AM Heitor Projects - Jose <
j...@heitorprojects.com> wrote:

> How to disable JDBC request query timeout (for database drivers that do
> not support this feature...eg. Apache Ignite)? [Sampler result] Thread
> Name: Thread Group 1-1 Sample Start: 2018-11-20 14:41:38 SAST Load time:
> 761 Connect Time: 761 Latency: 0 Size in bytes: 31 Sent bytes:0 Headers
> size in bytes: 0 Body size in bytes: 31 Sample Count: 1 Error Count: 1 Data
> type ("text"|"bin"|""): text Response code: null 0 Response message:
> java.sql.SQLFeatureNotSupportedException: Query timeout is not supported.
> Thanks, Jose


Re: Need help in identifying actual time, not aggregate

2018-11-20 Thread Deepak Shetty
Hi
Pseudo Script
+Http Request (Submit Order)
+Transaction Controller
++While Controller (Condition status != Successful && dontWantInfiniteLoop)
+++Http Request (Status URL)
Extract status
+++Think time delay timer between checks

Why is this not working for you ? The Transaction controller will sum up
the time and you can choose whether you want to include the timer ("Include
duration of timer ... checkbox")

>I have to measure the exact time
Your requirements only work for a very loose definition of  "exact" -
polling systems are not very exact or turn to be wasteful.
regards
deepak

On Mon, Nov 19, 2018 at 6:56 PM Pravesh Shrivastava <
pravesh.shrivast...@gmail.com> wrote:

> You are right Deepak. But I don't want to extract average response time.
> Let me give details below:
>
> 1. Submit an order
> 2. Extract the status (it is Submitted)
> 3. Keep hitting the same url until status becomes Successful
>
> I have to measure the exact time taken in changing status from Submitted to
> Successful.
>
> On Tue, 20 Nov 2018, 00:29 Deepak Shetty 
> > Whats your test plan and what makes you say its average ? The transaction
> > controller generates the sum of its children, not average
> >
> > regards
> > deepak
> >
> > On Mon, Nov 19, 2018 at 12:51 AM Pravesh Shrivastava <
> > pravesh.shrivast...@gmail.com> wrote:
> >
> > > Hi,
> > >
> > > I have a scenarios where I need some help to setup this:
> > >
> > > I am submitting one order through application. After submitting the
> order
> > > the status is "Submitted". I keep of refreshing the page until status
> > turns
> > > to "Successful".
> > >
> > > So, I have to identify actual time taken by the application between
> > > "Submitted" and "Successful".
> > >
> > > Tried Transaction Controller, it is giving only Average time taken. I
> > want
> > > to identify exact time taken.
> > >
> > > --
> > > Regards
> > > Pravesh Shrivastava
> > >
> >
>


Disable JDBC query timeout

2018-11-20 Thread Heitor Projects - Jose
How to disable JDBC request query timeout (for database drivers that do not 
support this feature...eg. Apache Ignite)? [Sampler result] Thread Name: Thread 
Group 1-1 Sample Start: 2018-11-20 14:41:38 SAST Load time: 761 Connect Time: 
761 Latency: 0 Size in bytes: 31 Sent bytes:0 Headers size in bytes: 0 Body 
size in bytes: 31 Sample Count: 1 Error Count: 1 Data type ("text"|"bin"|""): 
text Response code: null 0 Response message: 
java.sql.SQLFeatureNotSupportedException: Query timeout is not supported. 
Thanks, Jose

Re: HTTPS/SSL and Kerberos

2018-11-20 Thread ahardy42
By playing around, I noticed that JMeter lets you specify a system props file
using the '-q' flag as well.

This works. I verified it by removing all kerberos related config from the
apache-jmeter-5.0/bin directory, and also by changing the LoginConfig name
in the jaas.conf file so it couldn't be found. 

The tip about how to interpret the Kerberos error really helped. Hopefully
this info about the -q flag will help someone else in future. 

Regards
Adam



--
Sent from: http://www.jmeter-archive.org/JMeter-User-f512775.html

-
To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org
For additional commands, e-mail: user-h...@jmeter.apache.org



Re: HTTPS/SSL and Kerberos

2018-11-20 Thread ahardy42
So presumably then this error:

javax.security.auth.login.LoginException: No LoginModules configured for
JMeter
at
javax.security.auth.login.LoginContext.init(LoginContext.java:264)
~[?:1.8.0_131]
at
javax.security.auth.login.LoginContext.(LoginContext.java:417)
~[?:1.8.0_131]
at
org.apache.jmeter.protocol.http.control.KerberosManager.lambda$getSubjectForUser$0(KerberosManager.java:68)
~[ApacheJMeter_http.jar:5.0 r1840935]


means that JMeter can't find the jaas.conf?

I went back to basics and retried using system.properties with jaas config
set to "jaas.conf" with no directory and JMeter found the jaas.conf straight
away. I'll now work forwards again step by step and try to see where I went
wrong. If it wasn't for this hiccup, it would be much easier to keep those
jaas.conf and krb5.conf files with the other project files.






--
Sent from: http://www.jmeter-archive.org/JMeter-User-f512775.html

-
To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org
For additional commands, e-mail: user-h...@jmeter.apache.org