DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41613>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41613

           Summary: getting SSL exception when sampling a second domain
           Product: JMeter
           Version: 2.2
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTTP
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


Posting bugzilla issue per sebb's instructions (sebbaz at gmail dot com)

I pasted the thread email with the description below.

Thanks.

=================================================================

Does not make sense that it should fail this way.

Please can you create a Bugzilla issue, and then attach the following:

jmeter.log

JMX file used to run the test.

If there are any private URLs/passwords etc in the log or JMX, please replace 
them with something else BEFORE upload!


On 14/02/07, Matthew Coventon <[EMAIL PROTECTED]> wrote:
> Hi ... I am developing tests in JMeter against a site that uses https.
> Everything has been working great so far.
>
> But, I have a certain page for which I always want to retrieve one 
> particular resource.  It is a javascript resource that renders a map 
> on the page.  The javascript is downloaded via https from the map provider's 
site.
> When I set "Retrieve All Embedded Resources..." the javascript 
> downloads perfectly.
>
> The issue is that I don't want to download all the resources from the 
> page because many of them are static.  So I created an HTTP Sampler 
> that uses __regexFunction to populate the path of the javascript file.  
> But when I run this with a View Results Tree listener I get the 
> following exception in the response data:
>
> java.net.SocketException: Default SSL context init failed: null
>        at javax.net.ssl.DefaultSSLSocketFactory.createSocket(Unknown
> Source)
>        at
> org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory.create
> Socket
> (SSLProtocolSocketFactory.java:81)
>        at
> org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory.create
> Socket
> (SSLProtocolSocketFactory.java:126)
>        at
> org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:706)
>        at
> org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(Http
> Method
> Director.java:386)
>        at
> org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMet
> hodDir
> ector.java:170)
>        at
> org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396)
>        at
> org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:324)
>        at
> org.apache.jmeter.protocol.http.sampler.HTTPSampler2.sample(HTTPSample
> r2.jav
> a:527)
>        at
> org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSam
> plerBa
> se.java:658)
>        at
> org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSam
> plerBa
> se.java:647)
>        at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:247)
>        at java.lang.Thread.run(Unknown Source)
>
> Why does it download properly with "Retrieve All Embedded Resources 
> ...", but not as a separate sample?  I confirmed that I can take the 
> link used in the failing sampler, paste in a browser, and download the 
> javascript.  So __regexFunction is extracting the link correctly.  Any 
thoughts?
>
> Thanks,
>
> matt.
>
>
>
> ---------------------------------------------------------------------
> 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]

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to