Hi Felix,


Following are the current setting of system.properties file's

#You can modify these file paths to use absolute location

#java.security.krb5.conf=krb5.conf

#java.security.auth.login.config=jaas.conf




Anil


________________________________
From: Felix Schumacher <[email protected]>
Sent: Saturday, January 7, 2017 8:14 AM
To: [email protected]
Subject: Re: Jmeter Issue for Login

Am 07.01.2017 um 04:53 schrieb Anil Gaur:
> Hi Felix
>
> How to setup and do modification for config and which config file for same 
> error.
There are example files in the bin directory. Have a look at them. You
will probably have to change krb5.conf, only. The jaas.conf is pretty
generic and seldom needs any changes.

If you want to authenticate against a ADS (or any other kerberos server,
that is registered in DNS similar to an ADS), it should be enough to
change "default_realm" to your kerberos realm (all caps) and add a
simple mapping from DNS names to kerberos realm in the [domain_realm]
section.

The example file is configured for a kerberos realm named EXAMPLE.COM
and maps all dns names from example.com to that realm.

Make sure, that you edit system.properties (in bin) to point to your
krb5.conf (and jaas.conf) and you should be good to go.

Felix

>
> Please explain and help me for same
>
>
> Thanks
> Anil
>
>
>
> Sent from my Samsung Galaxy smartphone.
>
>
> -------- Original message --------
> From: Felix Schumacher <[email protected]>
> Date: 07/01/2017 01:09 (GMT+05:30)
> To: [email protected]
> Subject: Re: Jmeter Issue for Login
>
> Am 06.01.2017 um 15:28 schrieb Anil Gaur:
>> Hi..
>>
>>
>> I am getting following error . Please help me to resolve this  issue.
>>
>>
>>
>> 2017/01/06 06:07:21 INFO  - jmeter.engine.StandardJMeterEngine: Running the 
>> test!
>> 2017/01/06 06:07:21 INFO  - jmeter.samplers.SampleEvent: List of 
>> sample_variables: []
>> 2017/01/06 06:07:21 INFO  - jmeter.gui.util.JMeterMenuBar: 
>> setRunning(true,*local*)
>> 2017/01/06 06:07:22 INFO  - jmeter.engine.StandardJMeterEngine: Starting 
>> ThreadGroup: 1 : Thread Group
>> 2017/01/06 06:07:22 INFO  - jmeter.engine.StandardJMeterEngine: Starting 4 
>> threads for group Thread Group.
>> 2017/01/06 06:07:22 INFO  - jmeter.engine.StandardJMeterEngine: Thread will 
>> continue on error
>> 2017/01/06 06:07:22 INFO  - jmeter.threads.ThreadGroup: Starting thread 
>> group number 1 threads 4 ramp-up 1 perThread 250.0 delayedStart=false
>> 2017/01/06 06:07:22 INFO  - jmeter.threads.ThreadGroup: Started thread group 
>> number 1
>> 2017/01/06 06:07:22 INFO  - jmeter.engine.StandardJMeterEngine: All thread 
>> groups have been started
>> 2017/01/06 06:07:22 INFO  - jmeter.threads.JMeterThread: Thread started: 
>> Thread Group 1-1
>> 2017/01/06 06:07:22 INFO  - jmeter.services.FileServer: Stored: 
>> C:\Users\automation\Desktop\Performance data\userdata1.csv
>> 2017/01/06 06:07:22 INFO  - jmeter.threads.JMeterThread: Thread started: 
>> Thread Group 1-2
>> 2017/01/06 06:07:22 INFO  - jmeter.threads.JMeterThread: Thread started: 
>> Thread Group 1-3
>> 2017/01/06 06:07:22 INFO  - jmeter.threads.JMeterThread: Thread started: 
>> Thread Group 1-4
>> 2017/01/06 06:07:23 WARN  - jmeter.protocol.http.control.KerberosManager: 
>> Could not log in user ${AUTH_LOGIN}
> It seems, that your variable AUTH_LOGIN is not set within your JMeter
> testplan.
>> javax.security.auth.login.LoginException: No LoginModules configured for 
>> JMeter
> Have you edited your system.properties file and pointed the properties
> java.security.krb5.conf and java.security.auth.login.config to the
> location of your (hopefully correctly set up) config files?
>
> Regards,
>    Felix
>> at javax.security.auth.login.LoginContext.init(Unknown Source)
>> at javax.security.auth.login.LoginContext.<init>(Unknown Source)
>> at 
>> org.apache.jmeter.protocol.http.control.KerberosManager$1.call(KerberosManager.java:71)
>> at 
>> org.apache.jmeter.protocol.http.control.KerberosManager$1.call(KerberosManager.java:65)
>> at java.util.concurrent.FutureTask.run(Unknown Source)
>> at 
>> org.apache.jmeter.protocol.http.control.KerberosManager.getSubjectForUser(KerberosManager.java:89)
>> at 
>> org.apache.jmeter.protocol.http.control.AuthManager.getSubjectForUrl(AuthManager.java:276)
>> at 
>> org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl.executeRequest(HTTPHC4Impl.java:634)
>> at 
>> org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl.sample(HTTPHC4Impl.java:413)
>> at 
>> org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy.sample(HTTPSamplerProxy.java:74)
>> at 
>> org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1166)
>> at 
>> org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1155)
>> at 
>> org.apache.jmeter.threads.JMeterThread.executeSamplePackage(JMeterThread.java:475)
>> at 
>> org.apache.jmeter.threads.JMeterThread.processSampler(JMeterThread.java:418)
>> at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:249)
>> at java.lang.Thread.run(Unknown Source)
>>
>>
>>
>> Regards
>>
>> Anil Gaur
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to