Forum Discussion

Tim_OShea's avatar
Tim_OShea
Icon for Neophyte rankNeophyte
2 years ago

Multi Step website test with variable

We have a website test on a site that uses session based tokens, whcih are passed by the authentication process. I can curl the website and get a token, and then paste the token as a bearer token in...
  • LMjosephBrett's avatar
    2 years ago

    Hey @Tim OShea 

    So, this can be accomplished using an internal web check in your portal.  It will require the use of groovy coding to accomplish so you can pull that token and then pass it to the next step in the check. 

    This doc does go over that process:

    https://www.logicmonitor.com/support/services/adding-managing-services/executing-internal-web-checks-via-groovy-scripts 

    I would also recommend reaching out to the LogicMonitor support team should you have any questions as although we cannot craft those custom scripts for you, we have dealt with this quite a bit and will likely be able to get you up an running!