Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Unable to submit data using Java AppMeasurement API

ramya_b
Level 1
Level 1

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.

1 Accepted Solution
devinderbanga
Correct answer by
Level 5
Level 5

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

View solution in original post

1 Reply
devinderbanga
Correct answer by
Level 5
Level 5

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

View solution in original post