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> Not in GZIP format
at org.apache.myfaces.trinidadinternal.renderkit.core.CoreResponseStateManager._restoreSerializedView(
at org.apache.myfaces.trinidadinternal.renderkit.core.CoreResponseStateManager.getTreeStructureToRestore(
at org.apache.myfaces.trinidadinternal.application.StateManagerImpl.restoreView(
etc ..

لا يوجد هيكل ولا يوجد جذر
<_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(

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

Say Hi to Julia

By Ammar Sajdi Well, Do not get tooexcited, Julia is a programming language. It saw the light on  Valentine’s  day, 2012. While it can be...