I am using eclipse with java coding to fetch particular eVars and props from particular omniture call.
I am using BMP to fetch network traffic and HarLib to access all the entries in Har file.
But I am getting below error, whenever I try to fetch data from HAR file.
Error" org.codehaus.jackson.JsonParseException: Unrecognized field '_error' in response element"
My code goes like this,
Har har = Config.proxy.getHar();
File harFile = new File(Config.sFileName);
har.writeTo(harFile);
System.out.println ("Har file ready!!!!!!!!!!!!!!!!!!!");
HarFileReader r = new HarFileReader();
try
{
System.out.println("Reading data!!!!!!!!!!!!!!!! ");
List warnings = new ArrayList();
HarLog log = r.readHarFile(harFile, warnings);
for (HarWarning w : warnings)
HI,
I am using eclipse with java coding to fetch particular eVars and props from particular omniture call. I am using BMP to fetch network traffic and HarLib to access all the entries in Har file. But I am getting below error, whenever I try to fetch data from HAR file.
Error" org.codehaus.jackson.JsonParseException: Unrecognized field '_error' in response element"
My code goes like this,
Har har = Config.proxy.getHar(); File harFile = new File(Config.sFileName); har.writeTo(harFile);
System.out.println ("Har file ready!!!!!!!!!!!!!!!!!!!"); warnings = new ArrayList();
HarLog log = r.readHarFile(harFile, warnings);
for (HarWarning w : warnings)
HarFileReader r = new HarFileReader(); try { System.out.println("Reading data!!!!!!!!!!!!!!!! "); List
System.out.println("Reading " + harFile); System.out.println("Reading & Logging data!!!!!!!!!!!!!!!! ");
List hentry = entries.getEntries();
System.out.println("SubEntries put in List successfully!!!!!!!!!!!!!!!! ");
{ HarRequest Req = entry.getRequest(); HarQueryString R = Req.getQueryString(); List list1 = R.getQueryParams();
if(Req.getUrl().startsWith(Config.urlPattern))
{
for(HarQueryParam Param : list1) {
} }
I am trying to fetch below eVars and props from java code above:
Please help me to resolve this issue.