javax.faces.application.ViewExpiredException: During load test

We are Using SUN JSF 1.2, WebSphere 7.0 for our application, we are getting ViewExpiredException only during the load testing

I have gone through the below link

javax.faces.application.ViewExpiredException: View could not be restored

Have followed most of the stuff,

  1. Setting the context param,

    com.sun.faces.enableRestoreView11Compatibility true

  2. Instructed the browser to not cache the dynamic JSF pages by adding the below code at top of all JSP pages,

        res.setHeader("Cache-Control", "no-cache, no-store, must-revalidate"); 
        res.setHeader("Pragma", "no-cache");
        res.setDateHeader("Expires", -1); 
    

We are not getting the exception when we manually browse through the application. I am not able to figure out the issue.

Kindly advice.

Answer:1

I have a text file in json, and I want to replace NumberInt(x) with the number x. In the text file, there are records/data which is in json that has a field workYear: NumberInt(2010) as an example. ...

I have a table from which I want to fetch all data on behalf of a specific column and then want to save that data in form of JSON so that I can send it over API to the database for saving. I am ...

I was wondering if someone could help append data to an XML file. Below, I have code where it grabs data from another xml file, does some logic changing, and writes the changes to a new output file. ...

Is it possible to identify, probably using reflection, whether some method within a specific java class calls another method at build time? Let's say that I have ClassA that declares methodA1() ...