Hi Anil,

This mailing list is for development discussions of the JSFUnit tool itself.

Please post your user question to the forum at http://www.jboss.com/index.html?module=bb&op=viewforum&f=269

I'll be glad to answer it there.

Stan

Anil Langote wrote:

Hi All,

 

I am using JSFUnit to testing in my product. I want to get the requested URL for eg (http://localhost:8000/Facelets_R4/ServletTestRunner?suite=com.test.MyJSFUnitTest&xsl=cactus-report.xsl)

I want this URL to do decide whether it is an JSFUnit request or other request.

I tried same through FacesContext object like

String reqPath = FacesContext.getCurrentInstance().getExternalContext().getRequestServletPath();

I am getting different string is there any way to get the following string

“ServletTestRunner suite=com.test.MyJSFUnitTest&xsl=cactus-report.xsl”

 

Any thoughts?

 

Thanks

Anil

 

 

 


_______________________________________________ jsfunit-dev mailing list jsfunit-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jsfunit-dev