Re: [Dev] Error on FHIR connector integration Test case

2015-10-13 Thread Saneth Dharmakeerthi
Hi Hariprasath,

1) What do you mean by "testing with the test server"?
2) Could you able to do this task manually using same pack?.
3) Put a debug point at the line you add the certification and
 execute that line, then try the rest of  the actions manually and see
the behaviour.

Also share the testcase code

Thanks and Best Regards,

Saneth Dharmakeerthi
Senior Software Engineer
WSO2, Inc.
Mobile: +94772325511

On Tue, Oct 13, 2015 at 4:52 PM, Hariprasath Thanarajah <
haripras...@wso2.com> wrote:

> Hi Rajjaz,
>
> I already added the certification like you mentioned in [2]. But still
> it's giving the same error.
>
> On Tue, Oct 13, 2015 at 4:41 PM, Rajjaz Mohammed  wrote:
>
>> Hi,
>> its seems to be like a error i got earlier so what i did is i import the
>> certificate through the terminal like[1] and its solved my error.
>>
>> AFAIK test server not will be the reason for this error. and try the way
>> [2].
>>
>> [1]Navigate to "/repository/resources/security/" using command prompt
>> and execute keytool -importcert -file CERT_FILE_NAME -keystore
>> client-truststore.jks -alias "CERT_NAME" in command line to import api
>> certificate in to keystore. Give "*wso2carbon*" as password.
>>
>> [2]
>> http://wso2-oxygen-tank.10903.n7.nabble.com/Dev-Connector-Integration-Test-Error-SSL-Handshake-Exception-td98612.html
>>
>> On Tue, Oct 13, 2015 at 3:55 PM, Rajeenthini Satkunam <
>> rajeenth...@wso2.com> wrote:
>>
>>> Hi Hariprasanth,
>>>
>>> You can search for this subject "*[Dev] Connector Integration Test
>>> Error!- SSL Handshake Exception*" .This could help you to give some
>>> idea about the error.
>>>
>>> On Tue, Oct 13, 2015 at 3:42 PM, Hariprasath Thanarajah <
>>> haripras...@wso2.com> wrote:
>>>
 Hi all,

 Is it the error came because of the testing server? I am testing with
 the test server because it is only available for FHIR. The FHIR is in the
 development phase.

 On Tue, Oct 13, 2015 at 11:13 AM, Hariprasath Thanarajah <
 haripras...@wso2.com> wrote:

> Hi All ,
>
> I got the response at the wire. But after that only  i am getting the
> above error[1].
>
> On Tue, Oct 13, 2015 at 11:08 AM, Hariprasath Thanarajah <
> haripras...@wso2.com> wrote:
>
>> Hi Elilmatha,
>>
>> I already included the certificates at client-truststore.jks as well
>> as wso2carbon.jks.
>>
>> On Tue, Oct 13, 2015 at 11:06 AM, Elilmatha Sivanesan <
>> elilma...@wso2.com> wrote:
>>
>>> Hi Hariprasath,
>>>
>>> As per you error log you need to include the certificate.
>>>
>>> Thanks.
>>>
>>> On Tue, Oct 13, 2015 at 10:56 AM, Hariprasath Thanarajah <
>>> haripras...@wso2.com> wrote:
>>>
 Hi All,

 I am working on FHIR connector. I got the following[1] error while
 I am running the integration test case of FHIR. Any suggestion on this
 error?



 [1]
 [2015-10-13 10:49:58,488] ERROR
 {org.wso2.carbon.automation.core.PlatformTestManager} -  On Test 
 failure..
 [2015-10-13 10:49:58,488] ERROR
 {org.wso2.carbon.automation.core.PlatformTestManager} -
 javax.net.ssl.SSLHandshakeException:
 sun.security.validator.ValidatorException: PKIX path building failed:
 sun.security.provider.certpath.SunCertPathBuilderException: unable to 
 find
 valid certification path to requested target
 [2015-10-13 10:49:58,489]  INFO
 {org.wso2.carbon.automation.core.PlatformTestManager} -
 --Tests Failed
 org.wso2.carbon.connector.integration.test.fhir.fhirConnectorIntegrationTest.readResource
 [2015-10-13 10:49:58,503]  INFO
 {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
 [2015-10-13 10:49:58,503]  WARN - ProxyServiceAdmin No proxy service 
 exists
 by the name : fhir
 [2015-10-13 10:49:58,525]  INFO
 {org.wso2.carbon.automation.api.clients.proxy.admin.ProxyServiceAdminClient}
 -  Proxy Deleted
 FAILED: readResource
 fhir {readResource} integration test.
 javax.net.ssl.SSLHandshakeException:
 sun.security.validator.ValidatorException: PKIX path building failed:
 sun.security.provider.certpath.SunCertPathBuilderException: unable to 
 find
 valid certification path to requested target
 at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
 at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1904)
 at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:279)
 at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:273)
 at
 sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1446)
 at
 

Re: [Dev] Error on FHIR connector integration Test case

2015-10-13 Thread Hariprasath Thanarajah
Hi Saneth,

FHIR is in the development phase and they released a set of third party
testing server to check the FHIR resources. You can find the list of test
servers on [1]

[1]
http://wiki.hl7.org/index.php?title=Publicly_Available_FHIR_Servers_for_testing

I manually checked with the same pack it is working  fine.

I resolved this issue by adding the certificate to the product and ESB.
Earlier I only added the certification to the ESB. Now it's working fine.

Thank you all.



On Wed, Oct 14, 2015 at 8:25 AM, Saneth Dharmakeerthi 
wrote:

> Hi Hariprasath,
>
> 1) What do you mean by "testing with the test server"?
> 2) Could you able to do this task manually using same pack?.
> 3) Put a debug point at the line you add the certification and
>  execute that line, then try the rest of  the actions manually and see
> the behaviour.
>
> Also share the testcase code
>
> Thanks and Best Regards,
>
> Saneth Dharmakeerthi
> Senior Software Engineer
> WSO2, Inc.
> Mobile: +94772325511
>
> On Tue, Oct 13, 2015 at 4:52 PM, Hariprasath Thanarajah <
> haripras...@wso2.com> wrote:
>
>> Hi Rajjaz,
>>
>> I already added the certification like you mentioned in [2]. But still
>> it's giving the same error.
>>
>> On Tue, Oct 13, 2015 at 4:41 PM, Rajjaz Mohammed  wrote:
>>
>>> Hi,
>>> its seems to be like a error i got earlier so what i did is i import the
>>> certificate through the terminal like[1] and its solved my error.
>>>
>>> AFAIK test server not will be the reason for this error. and try the way
>>> [2].
>>>
>>> [1]Navigate to "/repository/resources/security/" using command prompt
>>> and execute keytool -importcert -file CERT_FILE_NAME -keystore
>>> client-truststore.jks -alias "CERT_NAME" in command line to import api
>>> certificate in to keystore. Give "*wso2carbon*" as password.
>>>
>>> [2]
>>> http://wso2-oxygen-tank.10903.n7.nabble.com/Dev-Connector-Integration-Test-Error-SSL-Handshake-Exception-td98612.html
>>>
>>> On Tue, Oct 13, 2015 at 3:55 PM, Rajeenthini Satkunam <
>>> rajeenth...@wso2.com> wrote:
>>>
 Hi Hariprasanth,

 You can search for this subject "*[Dev] Connector Integration Test
 Error!- SSL Handshake Exception*" .This could help you to give some
 idea about the error.

 On Tue, Oct 13, 2015 at 3:42 PM, Hariprasath Thanarajah <
 haripras...@wso2.com> wrote:

> Hi all,
>
> Is it the error came because of the testing server? I am testing with
> the test server because it is only available for FHIR. The FHIR is in the
> development phase.
>
> On Tue, Oct 13, 2015 at 11:13 AM, Hariprasath Thanarajah <
> haripras...@wso2.com> wrote:
>
>> Hi All ,
>>
>> I got the response at the wire. But after that only  i am getting the
>> above error[1].
>>
>> On Tue, Oct 13, 2015 at 11:08 AM, Hariprasath Thanarajah <
>> haripras...@wso2.com> wrote:
>>
>>> Hi Elilmatha,
>>>
>>> I already included the certificates at client-truststore.jks as well
>>> as wso2carbon.jks.
>>>
>>> On Tue, Oct 13, 2015 at 11:06 AM, Elilmatha Sivanesan <
>>> elilma...@wso2.com> wrote:
>>>
 Hi Hariprasath,

 As per you error log you need to include the certificate.

 Thanks.

 On Tue, Oct 13, 2015 at 10:56 AM, Hariprasath Thanarajah <
 haripras...@wso2.com> wrote:

> Hi All,
>
> I am working on FHIR connector. I got the following[1] error while
> I am running the integration test case of FHIR. Any suggestion on this
> error?
>
>
>
> [1]
> [2015-10-13 10:49:58,488] ERROR
> {org.wso2.carbon.automation.core.PlatformTestManager} -  On Test 
> failure..
> [2015-10-13 10:49:58,488] ERROR
> {org.wso2.carbon.automation.core.PlatformTestManager} -
> javax.net.ssl.SSLHandshakeException:
> sun.security.validator.ValidatorException: PKIX path building failed:
> sun.security.provider.certpath.SunCertPathBuilderException: unable to 
> find
> valid certification path to requested target
> [2015-10-13 10:49:58,489]  INFO
> {org.wso2.carbon.automation.core.PlatformTestManager} -
> --Tests Failed
> org.wso2.carbon.connector.integration.test.fhir.fhirConnectorIntegrationTest.readResource
> [2015-10-13 10:49:58,503]  INFO
> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
> [2015-10-13 10:49:58,503]  WARN - ProxyServiceAdmin No proxy service 
> exists
> by the name : fhir
> [2015-10-13 10:49:58,525]  INFO
> {org.wso2.carbon.automation.api.clients.proxy.admin.ProxyServiceAdminClient}
> -  Proxy Deleted
> FAILED: readResource
> fhir {readResource} integration test.
> javax.net.ssl.SSLHandshakeException:

Re: [Dev] Error on FHIR connector integration Test case

2015-10-13 Thread Hariprasath Thanarajah
Hi all,

Is it the error came because of the testing server? I am testing with the
test server because it is only available for FHIR. The FHIR is in the
development phase.

On Tue, Oct 13, 2015 at 11:13 AM, Hariprasath Thanarajah <
haripras...@wso2.com> wrote:

> Hi All ,
>
> I got the response at the wire. But after that only  i am getting the
> above error[1].
>
> On Tue, Oct 13, 2015 at 11:08 AM, Hariprasath Thanarajah <
> haripras...@wso2.com> wrote:
>
>> Hi Elilmatha,
>>
>> I already included the certificates at client-truststore.jks as well as
>> wso2carbon.jks.
>>
>> On Tue, Oct 13, 2015 at 11:06 AM, Elilmatha Sivanesan > > wrote:
>>
>>> Hi Hariprasath,
>>>
>>> As per you error log you need to include the certificate.
>>>
>>> Thanks.
>>>
>>> On Tue, Oct 13, 2015 at 10:56 AM, Hariprasath Thanarajah <
>>> haripras...@wso2.com> wrote:
>>>
 Hi All,

 I am working on FHIR connector. I got the following[1] error while I am
 running the integration test case of FHIR. Any suggestion on this error?



 [1]
 [2015-10-13 10:49:58,488] ERROR
 {org.wso2.carbon.automation.core.PlatformTestManager} -  On Test failure..
 [2015-10-13 10:49:58,488] ERROR
 {org.wso2.carbon.automation.core.PlatformTestManager} -
 javax.net.ssl.SSLHandshakeException:
 sun.security.validator.ValidatorException: PKIX path building failed:
 sun.security.provider.certpath.SunCertPathBuilderException: unable to find
 valid certification path to requested target
 [2015-10-13 10:49:58,489]  INFO
 {org.wso2.carbon.automation.core.PlatformTestManager} -
 --Tests Failed
 org.wso2.carbon.connector.integration.test.fhir.fhirConnectorIntegrationTest.readResource
 [2015-10-13 10:49:58,503]  INFO
 {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
 [2015-10-13 10:49:58,503]  WARN - ProxyServiceAdmin No proxy service exists
 by the name : fhir
 [2015-10-13 10:49:58,525]  INFO
 {org.wso2.carbon.automation.api.clients.proxy.admin.ProxyServiceAdminClient}
 -  Proxy Deleted
 FAILED: readResource
 fhir {readResource} integration test.
 javax.net.ssl.SSLHandshakeException:
 sun.security.validator.ValidatorException: PKIX path building failed:
 sun.security.provider.certpath.SunCertPathBuilderException: unable to find
 valid certification path to requested target
 at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
 at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1904)
 at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:279)
 at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:273)
 at
 sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1446)
 at
 sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:209)
 at sun.security.ssl.Handshaker.processLoop(Handshaker.java:901)
 at sun.security.ssl.Handshaker.process_record(Handshaker.java:837)
 at
 sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1023)
 at
 sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1332)
 at
 sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1359)
 at
 sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1343)
 at
 sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:563)
 at
 sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)
 at
 sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1301)
 at
 java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:468)
 at
 sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:338)
 at
 org.wso2.connector.integration.test.base.ConnectorIntegrationTestBase.readResponse(ConnectorIntegrationTestBase.java:898)
 at
 org.wso2.connector.integration.test.base.ConnectorIntegrationTestBase.sendJsonRestRequest(ConnectorIntegrationTestBase.java:371)
 at
 org.wso2.connector.integration.test.base.ConnectorIntegrationTestBase.sendJsonRestRequest(ConnectorIntegrationTestBase.java:253)
 at
 org.wso2.carbon.connector.integration.test.fhir.fhirConnectorIntegrationTest.readResource(fhirConnectorIntegrationTest.java:69)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:606)
 at
 org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
 at 

Re: [Dev] Error on FHIR connector integration Test case

2015-10-13 Thread Rajeenthini Satkunam
Hi Hariprasanth,

You can search for this subject "*[Dev] Connector Integration Test Error!-
SSL Handshake Exception*" .This could help you to give some idea about the
error.

On Tue, Oct 13, 2015 at 3:42 PM, Hariprasath Thanarajah <
haripras...@wso2.com> wrote:

> Hi all,
>
> Is it the error came because of the testing server? I am testing with the
> test server because it is only available for FHIR. The FHIR is in the
> development phase.
>
> On Tue, Oct 13, 2015 at 11:13 AM, Hariprasath Thanarajah <
> haripras...@wso2.com> wrote:
>
>> Hi All ,
>>
>> I got the response at the wire. But after that only  i am getting the
>> above error[1].
>>
>> On Tue, Oct 13, 2015 at 11:08 AM, Hariprasath Thanarajah <
>> haripras...@wso2.com> wrote:
>>
>>> Hi Elilmatha,
>>>
>>> I already included the certificates at client-truststore.jks as well as
>>> wso2carbon.jks.
>>>
>>> On Tue, Oct 13, 2015 at 11:06 AM, Elilmatha Sivanesan <
>>> elilma...@wso2.com> wrote:
>>>
 Hi Hariprasath,

 As per you error log you need to include the certificate.

 Thanks.

 On Tue, Oct 13, 2015 at 10:56 AM, Hariprasath Thanarajah <
 haripras...@wso2.com> wrote:

> Hi All,
>
> I am working on FHIR connector. I got the following[1] error while I
> am running the integration test case of FHIR. Any suggestion on this 
> error?
>
>
>
> [1]
> [2015-10-13 10:49:58,488] ERROR
> {org.wso2.carbon.automation.core.PlatformTestManager} -  On Test failure..
> [2015-10-13 10:49:58,488] ERROR
> {org.wso2.carbon.automation.core.PlatformTestManager} -
> javax.net.ssl.SSLHandshakeException:
> sun.security.validator.ValidatorException: PKIX path building failed:
> sun.security.provider.certpath.SunCertPathBuilderException: unable to find
> valid certification path to requested target
> [2015-10-13 10:49:58,489]  INFO
> {org.wso2.carbon.automation.core.PlatformTestManager} -
> --Tests Failed
> org.wso2.carbon.connector.integration.test.fhir.fhirConnectorIntegrationTest.readResource
> [2015-10-13 10:49:58,503]  INFO
> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
> [2015-10-13 10:49:58,503]  WARN - ProxyServiceAdmin No proxy service 
> exists
> by the name : fhir
> [2015-10-13 10:49:58,525]  INFO
> {org.wso2.carbon.automation.api.clients.proxy.admin.ProxyServiceAdminClient}
> -  Proxy Deleted
> FAILED: readResource
> fhir {readResource} integration test.
> javax.net.ssl.SSLHandshakeException:
> sun.security.validator.ValidatorException: PKIX path building failed:
> sun.security.provider.certpath.SunCertPathBuilderException: unable to find
> valid certification path to requested target
> at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
> at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1904)
> at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:279)
> at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:273)
> at
> sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1446)
> at
> sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:209)
> at sun.security.ssl.Handshaker.processLoop(Handshaker.java:901)
> at sun.security.ssl.Handshaker.process_record(Handshaker.java:837)
> at
> sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1023)
> at
> sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1332)
> at
> sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1359)
> at
> sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1343)
> at
> sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:563)
> at
> sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)
> at
> sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1301)
> at
> java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:468)
> at
> sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:338)
> at
> org.wso2.connector.integration.test.base.ConnectorIntegrationTestBase.readResponse(ConnectorIntegrationTestBase.java:898)
> at
> org.wso2.connector.integration.test.base.ConnectorIntegrationTestBase.sendJsonRestRequest(ConnectorIntegrationTestBase.java:371)
> at
> org.wso2.connector.integration.test.base.ConnectorIntegrationTestBase.sendJsonRestRequest(ConnectorIntegrationTestBase.java:253)
> at
> org.wso2.carbon.connector.integration.test.fhir.fhirConnectorIntegrationTest.readResource(fhirConnectorIntegrationTest.java:69)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

Re: [Dev] Error on FHIR connector integration Test case

2015-10-13 Thread Rajjaz Mohammed
Hi,
its seems to be like a error i got earlier so what i did is i import the
certificate through the terminal like[1] and its solved my error.

AFAIK test server not will be the reason for this error. and try the way
[2].

[1]Navigate to "/repository/resources/security/" using command prompt and
execute keytool -importcert -file CERT_FILE_NAME -keystore
client-truststore.jks -alias "CERT_NAME" in command line to import api
certificate in to keystore. Give "*wso2carbon*" as password.

[2]
http://wso2-oxygen-tank.10903.n7.nabble.com/Dev-Connector-Integration-Test-Error-SSL-Handshake-Exception-td98612.html

On Tue, Oct 13, 2015 at 3:55 PM, Rajeenthini Satkunam 
wrote:

> Hi Hariprasanth,
>
> You can search for this subject "*[Dev] Connector Integration Test
> Error!- SSL Handshake Exception*" .This could help you to give some idea
> about the error.
>
> On Tue, Oct 13, 2015 at 3:42 PM, Hariprasath Thanarajah <
> haripras...@wso2.com> wrote:
>
>> Hi all,
>>
>> Is it the error came because of the testing server? I am testing with the
>> test server because it is only available for FHIR. The FHIR is in the
>> development phase.
>>
>> On Tue, Oct 13, 2015 at 11:13 AM, Hariprasath Thanarajah <
>> haripras...@wso2.com> wrote:
>>
>>> Hi All ,
>>>
>>> I got the response at the wire. But after that only  i am getting the
>>> above error[1].
>>>
>>> On Tue, Oct 13, 2015 at 11:08 AM, Hariprasath Thanarajah <
>>> haripras...@wso2.com> wrote:
>>>
 Hi Elilmatha,

 I already included the certificates at client-truststore.jks as well as
 wso2carbon.jks.

 On Tue, Oct 13, 2015 at 11:06 AM, Elilmatha Sivanesan <
 elilma...@wso2.com> wrote:

> Hi Hariprasath,
>
> As per you error log you need to include the certificate.
>
> Thanks.
>
> On Tue, Oct 13, 2015 at 10:56 AM, Hariprasath Thanarajah <
> haripras...@wso2.com> wrote:
>
>> Hi All,
>>
>> I am working on FHIR connector. I got the following[1] error while I
>> am running the integration test case of FHIR. Any suggestion on this 
>> error?
>>
>>
>>
>> [1]
>> [2015-10-13 10:49:58,488] ERROR
>> {org.wso2.carbon.automation.core.PlatformTestManager} -  On Test 
>> failure..
>> [2015-10-13 10:49:58,488] ERROR
>> {org.wso2.carbon.automation.core.PlatformTestManager} -
>> javax.net.ssl.SSLHandshakeException:
>> sun.security.validator.ValidatorException: PKIX path building failed:
>> sun.security.provider.certpath.SunCertPathBuilderException: unable to 
>> find
>> valid certification path to requested target
>> [2015-10-13 10:49:58,489]  INFO
>> {org.wso2.carbon.automation.core.PlatformTestManager} -
>> --Tests Failed
>> org.wso2.carbon.connector.integration.test.fhir.fhirConnectorIntegrationTest.readResource
>> [2015-10-13 10:49:58,503]  INFO
>> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
>> [2015-10-13 10:49:58,503]  WARN - ProxyServiceAdmin No proxy service 
>> exists
>> by the name : fhir
>> [2015-10-13 10:49:58,525]  INFO
>> {org.wso2.carbon.automation.api.clients.proxy.admin.ProxyServiceAdminClient}
>> -  Proxy Deleted
>> FAILED: readResource
>> fhir {readResource} integration test.
>> javax.net.ssl.SSLHandshakeException:
>> sun.security.validator.ValidatorException: PKIX path building failed:
>> sun.security.provider.certpath.SunCertPathBuilderException: unable to 
>> find
>> valid certification path to requested target
>> at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
>> at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1904)
>> at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:279)
>> at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:273)
>> at
>> sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1446)
>> at
>> sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:209)
>> at sun.security.ssl.Handshaker.processLoop(Handshaker.java:901)
>> at sun.security.ssl.Handshaker.process_record(Handshaker.java:837)
>> at
>> sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1023)
>> at
>> sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1332)
>> at
>> sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1359)
>> at
>> sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1343)
>> at
>> sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:563)
>> at
>> sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)
>> at
>> sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1301)
>> at
>> 

Re: [Dev] Error on FHIR connector integration Test case

2015-10-13 Thread Hariprasath Thanarajah
Hi Rajjaz,

I already added the certification like you mentioned in [2]. But still it's
giving the same error.

On Tue, Oct 13, 2015 at 4:41 PM, Rajjaz Mohammed  wrote:

> Hi,
> its seems to be like a error i got earlier so what i did is i import the
> certificate through the terminal like[1] and its solved my error.
>
> AFAIK test server not will be the reason for this error. and try the way
> [2].
>
> [1]Navigate to "/repository/resources/security/" using command prompt and
> execute keytool -importcert -file CERT_FILE_NAME -keystore
> client-truststore.jks -alias "CERT_NAME" in command line to import api
> certificate in to keystore. Give "*wso2carbon*" as password.
>
> [2]
> http://wso2-oxygen-tank.10903.n7.nabble.com/Dev-Connector-Integration-Test-Error-SSL-Handshake-Exception-td98612.html
>
> On Tue, Oct 13, 2015 at 3:55 PM, Rajeenthini Satkunam <
> rajeenth...@wso2.com> wrote:
>
>> Hi Hariprasanth,
>>
>> You can search for this subject "*[Dev] Connector Integration Test
>> Error!- SSL Handshake Exception*" .This could help you to give some idea
>> about the error.
>>
>> On Tue, Oct 13, 2015 at 3:42 PM, Hariprasath Thanarajah <
>> haripras...@wso2.com> wrote:
>>
>>> Hi all,
>>>
>>> Is it the error came because of the testing server? I am testing with
>>> the test server because it is only available for FHIR. The FHIR is in the
>>> development phase.
>>>
>>> On Tue, Oct 13, 2015 at 11:13 AM, Hariprasath Thanarajah <
>>> haripras...@wso2.com> wrote:
>>>
 Hi All ,

 I got the response at the wire. But after that only  i am getting the
 above error[1].

 On Tue, Oct 13, 2015 at 11:08 AM, Hariprasath Thanarajah <
 haripras...@wso2.com> wrote:

> Hi Elilmatha,
>
> I already included the certificates at client-truststore.jks as well
> as wso2carbon.jks.
>
> On Tue, Oct 13, 2015 at 11:06 AM, Elilmatha Sivanesan <
> elilma...@wso2.com> wrote:
>
>> Hi Hariprasath,
>>
>> As per you error log you need to include the certificate.
>>
>> Thanks.
>>
>> On Tue, Oct 13, 2015 at 10:56 AM, Hariprasath Thanarajah <
>> haripras...@wso2.com> wrote:
>>
>>> Hi All,
>>>
>>> I am working on FHIR connector. I got the following[1] error while I
>>> am running the integration test case of FHIR. Any suggestion on this 
>>> error?
>>>
>>>
>>>
>>> [1]
>>> [2015-10-13 10:49:58,488] ERROR
>>> {org.wso2.carbon.automation.core.PlatformTestManager} -  On Test 
>>> failure..
>>> [2015-10-13 10:49:58,488] ERROR
>>> {org.wso2.carbon.automation.core.PlatformTestManager} -
>>> javax.net.ssl.SSLHandshakeException:
>>> sun.security.validator.ValidatorException: PKIX path building failed:
>>> sun.security.provider.certpath.SunCertPathBuilderException: unable to 
>>> find
>>> valid certification path to requested target
>>> [2015-10-13 10:49:58,489]  INFO
>>> {org.wso2.carbon.automation.core.PlatformTestManager} -
>>> --Tests Failed
>>> org.wso2.carbon.connector.integration.test.fhir.fhirConnectorIntegrationTest.readResource
>>> [2015-10-13 10:49:58,503]  INFO
>>> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
>>> [2015-10-13 10:49:58,503]  WARN - ProxyServiceAdmin No proxy service 
>>> exists
>>> by the name : fhir
>>> [2015-10-13 10:49:58,525]  INFO
>>> {org.wso2.carbon.automation.api.clients.proxy.admin.ProxyServiceAdminClient}
>>> -  Proxy Deleted
>>> FAILED: readResource
>>> fhir {readResource} integration test.
>>> javax.net.ssl.SSLHandshakeException:
>>> sun.security.validator.ValidatorException: PKIX path building failed:
>>> sun.security.provider.certpath.SunCertPathBuilderException: unable to 
>>> find
>>> valid certification path to requested target
>>> at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
>>> at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1904)
>>> at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:279)
>>> at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:273)
>>> at
>>> sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1446)
>>> at
>>> sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:209)
>>> at sun.security.ssl.Handshaker.processLoop(Handshaker.java:901)
>>> at
>>> sun.security.ssl.Handshaker.process_record(Handshaker.java:837)
>>> at
>>> sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1023)
>>> at
>>> sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1332)
>>> at
>>> sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1359)
>>> at
>>> sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1343)
>>> at
>>> 

Re: [Dev] Error on FHIR connector integration Test case

2015-10-12 Thread Elilmatha Sivanesan
Hi Hariprasath,

As per you error log you need to include the certificate.

Thanks.

On Tue, Oct 13, 2015 at 10:56 AM, Hariprasath Thanarajah <
haripras...@wso2.com> wrote:

> Hi All,
>
> I am working on FHIR connector. I got the following[1] error while I am
> running the integration test case of FHIR. Any suggestion on this error?
>
>
>
> [1]
> [2015-10-13 10:49:58,488] ERROR
> {org.wso2.carbon.automation.core.PlatformTestManager} -  On Test failure..
> [2015-10-13 10:49:58,488] ERROR
> {org.wso2.carbon.automation.core.PlatformTestManager} -
> javax.net.ssl.SSLHandshakeException:
> sun.security.validator.ValidatorException: PKIX path building failed:
> sun.security.provider.certpath.SunCertPathBuilderException: unable to find
> valid certification path to requested target
> [2015-10-13 10:49:58,489]  INFO
> {org.wso2.carbon.automation.core.PlatformTestManager} -
> --Tests Failed
> org.wso2.carbon.connector.integration.test.fhir.fhirConnectorIntegrationTest.readResource
> [2015-10-13 10:49:58,503]  INFO
> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
> [2015-10-13 10:49:58,503]  WARN - ProxyServiceAdmin No proxy service exists
> by the name : fhir
> [2015-10-13 10:49:58,525]  INFO
> {org.wso2.carbon.automation.api.clients.proxy.admin.ProxyServiceAdminClient}
> -  Proxy Deleted
> FAILED: readResource
> fhir {readResource} integration test.
> javax.net.ssl.SSLHandshakeException:
> sun.security.validator.ValidatorException: PKIX path building failed:
> sun.security.provider.certpath.SunCertPathBuilderException: unable to find
> valid certification path to requested target
> at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
> at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1904)
> at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:279)
> at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:273)
> at
> sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1446)
> at
> sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:209)
> at sun.security.ssl.Handshaker.processLoop(Handshaker.java:901)
> at sun.security.ssl.Handshaker.process_record(Handshaker.java:837)
> at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1023)
> at
> sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1332)
> at
> sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1359)
> at
> sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1343)
> at
> sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:563)
> at
> sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)
> at
> sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1301)
> at
> java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:468)
> at
> sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:338)
> at
> org.wso2.connector.integration.test.base.ConnectorIntegrationTestBase.readResponse(ConnectorIntegrationTestBase.java:898)
> at
> org.wso2.connector.integration.test.base.ConnectorIntegrationTestBase.sendJsonRestRequest(ConnectorIntegrationTestBase.java:371)
> at
> org.wso2.connector.integration.test.base.ConnectorIntegrationTestBase.sendJsonRestRequest(ConnectorIntegrationTestBase.java:253)
> at
> org.wso2.carbon.connector.integration.test.fhir.fhirConnectorIntegrationTest.readResource(fhirConnectorIntegrationTest.java:69)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> at
> org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
> at org.testng.internal.Invoker.invokeMethod(Invoker.java:673)
> at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:842)
> at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1166)
> at
> org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
> at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
> at org.testng.TestRunner.runWorkers(TestRunner.java:1178)
> at org.testng.TestRunner.privateRun(TestRunner.java:757)
> at org.testng.TestRunner.run(TestRunner.java:608)
> at org.testng.SuiteRunner.runTest(SuiteRunner.java:334)
> at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329)
> at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291)
> at org.testng.SuiteRunner.run(SuiteRunner.java:240)
> at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
> at 

Re: [Dev] Error on FHIR connector integration Test case

2015-10-12 Thread Hariprasath Thanarajah
Hi All ,

I got the response at the wire. But after that only  i am getting the above
error[1].

On Tue, Oct 13, 2015 at 11:08 AM, Hariprasath Thanarajah <
haripras...@wso2.com> wrote:

> Hi Elilmatha,
>
> I already included the certificates at client-truststore.jks as well as
> wso2carbon.jks.
>
> On Tue, Oct 13, 2015 at 11:06 AM, Elilmatha Sivanesan 
> wrote:
>
>> Hi Hariprasath,
>>
>> As per you error log you need to include the certificate.
>>
>> Thanks.
>>
>> On Tue, Oct 13, 2015 at 10:56 AM, Hariprasath Thanarajah <
>> haripras...@wso2.com> wrote:
>>
>>> Hi All,
>>>
>>> I am working on FHIR connector. I got the following[1] error while I am
>>> running the integration test case of FHIR. Any suggestion on this error?
>>>
>>>
>>>
>>> [1]
>>> [2015-10-13 10:49:58,488] ERROR
>>> {org.wso2.carbon.automation.core.PlatformTestManager} -  On Test failure..
>>> [2015-10-13 10:49:58,488] ERROR
>>> {org.wso2.carbon.automation.core.PlatformTestManager} -
>>> javax.net.ssl.SSLHandshakeException:
>>> sun.security.validator.ValidatorException: PKIX path building failed:
>>> sun.security.provider.certpath.SunCertPathBuilderException: unable to find
>>> valid certification path to requested target
>>> [2015-10-13 10:49:58,489]  INFO
>>> {org.wso2.carbon.automation.core.PlatformTestManager} -
>>> --Tests Failed
>>> org.wso2.carbon.connector.integration.test.fhir.fhirConnectorIntegrationTest.readResource
>>> [2015-10-13 10:49:58,503]  INFO
>>> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
>>> [2015-10-13 10:49:58,503]  WARN - ProxyServiceAdmin No proxy service exists
>>> by the name : fhir
>>> [2015-10-13 10:49:58,525]  INFO
>>> {org.wso2.carbon.automation.api.clients.proxy.admin.ProxyServiceAdminClient}
>>> -  Proxy Deleted
>>> FAILED: readResource
>>> fhir {readResource} integration test.
>>> javax.net.ssl.SSLHandshakeException:
>>> sun.security.validator.ValidatorException: PKIX path building failed:
>>> sun.security.provider.certpath.SunCertPathBuilderException: unable to find
>>> valid certification path to requested target
>>> at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
>>> at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1904)
>>> at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:279)
>>> at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:273)
>>> at
>>> sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1446)
>>> at
>>> sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:209)
>>> at sun.security.ssl.Handshaker.processLoop(Handshaker.java:901)
>>> at sun.security.ssl.Handshaker.process_record(Handshaker.java:837)
>>> at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1023)
>>> at
>>> sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1332)
>>> at
>>> sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1359)
>>> at
>>> sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1343)
>>> at
>>> sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:563)
>>> at
>>> sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)
>>> at
>>> sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1301)
>>> at
>>> java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:468)
>>> at
>>> sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:338)
>>> at
>>> org.wso2.connector.integration.test.base.ConnectorIntegrationTestBase.readResponse(ConnectorIntegrationTestBase.java:898)
>>> at
>>> org.wso2.connector.integration.test.base.ConnectorIntegrationTestBase.sendJsonRestRequest(ConnectorIntegrationTestBase.java:371)
>>> at
>>> org.wso2.connector.integration.test.base.ConnectorIntegrationTestBase.sendJsonRestRequest(ConnectorIntegrationTestBase.java:253)
>>> at
>>> org.wso2.carbon.connector.integration.test.fhir.fhirConnectorIntegrationTest.readResource(fhirConnectorIntegrationTest.java:69)
>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> at
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>>> at
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>> at java.lang.reflect.Method.invoke(Method.java:606)
>>> at
>>> org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
>>> at org.testng.internal.Invoker.invokeMethod(Invoker.java:673)
>>> at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:842)
>>> at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1166)
>>> at
>>> org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
>>> at
>>> org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)

Re: [Dev] Error on FHIR connector integration Test case

2015-10-12 Thread Hariprasath Thanarajah
Hi Elilmatha,

I already included the certificates at client-truststore.jks as well as
wso2carbon.jks.

On Tue, Oct 13, 2015 at 11:06 AM, Elilmatha Sivanesan 
wrote:

> Hi Hariprasath,
>
> As per you error log you need to include the certificate.
>
> Thanks.
>
> On Tue, Oct 13, 2015 at 10:56 AM, Hariprasath Thanarajah <
> haripras...@wso2.com> wrote:
>
>> Hi All,
>>
>> I am working on FHIR connector. I got the following[1] error while I am
>> running the integration test case of FHIR. Any suggestion on this error?
>>
>>
>>
>> [1]
>> [2015-10-13 10:49:58,488] ERROR
>> {org.wso2.carbon.automation.core.PlatformTestManager} -  On Test failure..
>> [2015-10-13 10:49:58,488] ERROR
>> {org.wso2.carbon.automation.core.PlatformTestManager} -
>> javax.net.ssl.SSLHandshakeException:
>> sun.security.validator.ValidatorException: PKIX path building failed:
>> sun.security.provider.certpath.SunCertPathBuilderException: unable to find
>> valid certification path to requested target
>> [2015-10-13 10:49:58,489]  INFO
>> {org.wso2.carbon.automation.core.PlatformTestManager} -
>> --Tests Failed
>> org.wso2.carbon.connector.integration.test.fhir.fhirConnectorIntegrationTest.readResource
>> [2015-10-13 10:49:58,503]  INFO
>> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
>> [2015-10-13 10:49:58,503]  WARN - ProxyServiceAdmin No proxy service exists
>> by the name : fhir
>> [2015-10-13 10:49:58,525]  INFO
>> {org.wso2.carbon.automation.api.clients.proxy.admin.ProxyServiceAdminClient}
>> -  Proxy Deleted
>> FAILED: readResource
>> fhir {readResource} integration test.
>> javax.net.ssl.SSLHandshakeException:
>> sun.security.validator.ValidatorException: PKIX path building failed:
>> sun.security.provider.certpath.SunCertPathBuilderException: unable to find
>> valid certification path to requested target
>> at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
>> at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1904)
>> at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:279)
>> at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:273)
>> at
>> sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1446)
>> at
>> sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:209)
>> at sun.security.ssl.Handshaker.processLoop(Handshaker.java:901)
>> at sun.security.ssl.Handshaker.process_record(Handshaker.java:837)
>> at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1023)
>> at
>> sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1332)
>> at
>> sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1359)
>> at
>> sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1343)
>> at
>> sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:563)
>> at
>> sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)
>> at
>> sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1301)
>> at
>> java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:468)
>> at
>> sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:338)
>> at
>> org.wso2.connector.integration.test.base.ConnectorIntegrationTestBase.readResponse(ConnectorIntegrationTestBase.java:898)
>> at
>> org.wso2.connector.integration.test.base.ConnectorIntegrationTestBase.sendJsonRestRequest(ConnectorIntegrationTestBase.java:371)
>> at
>> org.wso2.connector.integration.test.base.ConnectorIntegrationTestBase.sendJsonRestRequest(ConnectorIntegrationTestBase.java:253)
>> at
>> org.wso2.carbon.connector.integration.test.fhir.fhirConnectorIntegrationTest.readResource(fhirConnectorIntegrationTest.java:69)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>> at java.lang.reflect.Method.invoke(Method.java:606)
>> at
>> org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
>> at org.testng.internal.Invoker.invokeMethod(Invoker.java:673)
>> at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:842)
>> at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1166)
>> at
>> org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
>> at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
>> at org.testng.TestRunner.runWorkers(TestRunner.java:1178)
>> at org.testng.TestRunner.privateRun(TestRunner.java:757)
>> at org.testng.TestRunner.run(TestRunner.java:608)
>> at org.testng.SuiteRunner.runTest(SuiteRunner.java:334)
>> at