Hi Vijay
I am struggling to understand what your problem is. Are you having difficulty understanding the documentation on how to post the response data into the Analytics schema?
You have created an analytics schema, and you can now post data into that schema.
Your schema you created, it needs to have the fields that you want to populate
Your schema you created has 3 fields
Account, Amount & Product
Are these the 3 fields that you will be populating with the response from the python script you are building?
If so you can then just publish the data into the schema
Here is an example of a publish for one of my test schemas
curl -X POST "https://<analytics url>/events/publish/<schema name>" -H "X-Events-API-AccountName:xxxxxxxx" -H "X-Events-API-Key:xxxxxxxx" -H "Content-type: application/vnd.appd.events+json;v=2" -d '[{"statusDateTime": 1597135561333, "moduleName": "XXXXXXX1", "componentType": "XXXXX", "componentName": "XXXXXXX", "statusName": "XXXXXX", "statusDescription": "XXXXXXXXX", "state": 1, "status": 1}]'
Documentation below
https://docs.appdynamics.com/appd/23.x/latest/en/extend-appdynamics/appdynamics-apis/analytics-events-api
You can also look at this link, seems there is a way to get the okta token using selenium. Might be an option to use it in synthetics:)
https://hmh.engineering/how-to-use-selenium-to-inject-okta-authentication-tokens-into-rest-assured-e0ecdaf3e789
Ciao
... View more