You can use wire monitor server[1] for this kind of test cases(instead of
web app point to this server). Then capture out going message there and do
your test.

[1]
https://docs.wso2.com/display/TA430/Using+WireMonitorServer+in+Integration+Tests

Thanks,
sanjeewa.


On Tue, Sep 2, 2014 at 5:11 AM, Dinusha Senanayaka <[email protected]> wrote:

> Hi Kasun,
>
>
> On Tue, Sep 2, 2014 at 5:05 PM, Kasun Dissanayake <[email protected]> wrote:
>
>> Hi All
>>
>> I'm working on test automation for JWT generation. In here i need to
>> create several claims and I will check weather it will contain in the
>> Token.  Basically it will be generated when we hit the gateway url and pass
>> it to the corresponding web app. But I was unable to identify what is the
>> api to call in my testcase.
>>
> What you mean by the API here ? Is that the backend web app ? If so, you
> can deploy one of our sample web application and call to that endpoint.
>
> Regards,
> Dinusha.
>
>>
>> Any ideas?
>>
>> Cheers
>>
>> --
>> Kasun Dissanayake
>> Software Engineer
>> WSO2 Inc.
>> Lean | Enterprise | Middleware
>> Tel - +94 77 086 2860
>> Skype - kasun.dissanayake4
>> LinkedIn - lk.linkedin.com/in/kasundis/
>>
>
>
>
> --
> Dinusha Dilrukshi
> Senior Software Engineer
> WSO2 Inc.: http://wso2.com/
> Mobile: +94725255071
> Blog: http://dinushasblog.blogspot.com/
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

*Sanjeewa Malalgoda*
WSO2 Inc.
Mobile : +94713068779

 <http://sanjeewamalalgoda.blogspot.com/>blog
:http://sanjeewamalalgoda.blogspot.com/
<http://sanjeewamalalgoda.blogspot.com/>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to