Connecting Jasper Report with Rest API on Jasper Server

0

I have created a report where my Data Source is the REST API. The API works in the following way:

  1. The user sends username and password
  2. A token is generated and sent back as a response
  3. The user uses this token in the next requests and it expires after a defined time.

I am having a problem with my report. I have used the API in my report but it needs to log in each time and gets a token to access the data which takes up to 8-15 seconds to build and display the report. That is causing an extra delay in report generation which is irritating and is unacceptable. Is there any way I could overcome logging in each time while generating a report?
this question explains my time taken to generate the report on different platforms and also contains the code to generate the report.
Thanks a lot

jamshaidiqbal120's picture
Joined: Nov 25 2019 - 11:04am
Last seen: 3 weeks 2 days ago

0 Answers:

No answers yet
Feedback
randomness