Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Testing my ADF application with Jmeter

KSharma04Oct 13 2016 — edited Oct 18 2016

Hi I am trying to setup jmeter for my adf application , I am getting the below error when I try to run the script

My Jdev version is 11.1.2.4.0

javax.faces.application.ViewExpiredException: viewId:/fulfillmentCenterCapacity - ADF_FACES-30107:The view state of the page has expired. Reload the page.

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.\_restoreView(LifecycleImpl.java:726)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.\_executePhase(LifecycleImpl.java:349)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:202)

    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:508)

    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)

    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)

    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)

    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)

    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:173)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)

    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:125)

Below is the regular expression setup for View State

<input type="hidden" name="javax\.faces\.ViewState" value="!(.+?)">

jmeter.PNG

I can see the URL in View Result Tree has an incorrect value for View State

/faces/fulfillmentCenterCapacity?_adf.ctrl-state=14n4imeuqp_3&Adf-Rich-Message=true&unique=1476373085149&oracle.adf.view.rich.STREAM=pt1:t1,pt1:t2,pt1:t3&javax.faces.ViewState=!&oracle.adf.view.rich.forceHTML=true&Adf-Window-Id=w0

Any who has done this setup and encountered such error , need help .

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 15 2016
Added on Oct 13 2016
7 comments
1,290 views