Unable to submit data using Java AppMeasurement API | Community
Skip to main content
ramya_b
October 16, 2015
Solved

Unable to submit data using Java AppMeasurement API

  • October 16, 2015
  • 1 reply
  • 1590 views

Hi there,

 

 

1)Jboss server is used for hosting web application at our end.

2)Java AppMeasurement API is used to connect from my server side code to track page downloads.

3)A new suite has been created to test and AppMeasurement_EE jar has been included and the below code has been written

 

AppMeasurement s = new AppMeasurement(request, response);

s.account = "xxx";

s.sendFromServer = true;

s.trackingServer = "xxxxxxxx.112.2o7.net";

s.track();

 

When the code is being run there are no exceptions or errors but the pages are not being tracked.

Suspecting that a connection to the tracking server is not being established.

 

Looking forward to getting a solution.

 

Thankyou.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by devinderbanga

Hi

1. Please packet sniffer to verify the image consist of configured values.

2. Place alert in the function to check, its being called or not.

 

 

Regards

Devinder

1 reply

devinderbanga
devinderbangaAccepted solution
Level 6
October 16, 2015

Hi

1. Please packet sniffer to verify the image consist of configured values.

2. Place alert in the function to check, its being called or not.

 

 

Regards

Devinder