Monday, June 17, 2013

Oracle ADF and Apache JEMETER

I am doing some consulting work for the Kuwait University.
I am utilizing Jmeter to stress test their ADF application and used a demo prepared by Chris Muir

Once i ran the recorded scenario, I notice the following error at the Jdeveloper Console
<_restoreserializedview> 
java.io.IOException: Not in GZIP format
at java.util.zip.GZIPInputStream.readHeader(GZIPInputStream.java:143)
at java.util.zip.GZIPInputStream.(GZIPInputStream.java:58)
at org.apache.myfaces.trinidadinternal.renderkit.core.CoreResponseStateManager._restoreSerializedView(CoreResponseStateManager.java:188)
at org.apache.myfaces.trinidadinternal.renderkit.core.CoreResponseStateManager.getTreeStructureToRestore(CoreResponseStateManager.java:130)
at org.apache.myfaces.trinidadinternal.application.StateManagerImpl.restoreView(StateManagerImpl.java:667)
etc ..



at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
لا يوجد هيكل ولا يوجد جذر
<_handleexception> ADF_FACES-60098:تلقت دورة حياة Faces استثناءات غير معالجة في المرحلة RESTORE_VIEW 1
javax.faces.application.ViewExpiredException: viewId:/untitled1.jsp - ADF_FACES-30107:انتهت صلاحية حالة عرض الصفحة. إعادة تحميل الصفحة.
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._restoreView(LifecycleImpl.java:751)


Go back to your Jmeter plan 
and check your HTTP requests and for each parameter that has javax.faces.ViewState, make sure that the value you type for that is  !${javax.faces.ViewState}.  Most probably , you have forgotten to add  the exclamation mark (!) at the beginning.
Yes, you need both  the exclamation mark the the dollar sign  

Ammar Sajdi

www.e-ammar.net 
www.realsoft-me.com

No comments:

The most captivating communicator in the history of Science Richard Feynman birthday is today

Richard Feynman, most amusing, most captivating brilliant man would be 99 day. Learn more about him and watch this video, watch his prese...