Submit and vote on feature ideas.

Welcome to the new Parasoft forums! We hope you will enjoy the site and try out some of the new features, like sharing an idea you may have for one of our products or following a category.

Groovy Script to Redirect the Current Request

Options
jefftuckerbofa
jefftuckerbofa Posts: 234

Would it be possible to attach a Groovy script to the outgoing response that would conditionally redirect the entire request to a new URL vs having it fall through to the proxy secondary connection? thanks. JT

Comments

  • jefftuckerbofa
    jefftuckerbofa Posts: 234
    edited May 2023
    Options

    deleted

  • williammccusker
    williammccusker Posts: 654 ✭✭✭
    Options

    Hi,

    I can't think of a way from a script to alter the proxy secondary endpoint. There might be a way to send a request to a different URL using an additional layer of responders that act like a proxy with a message forward tool but it might be complication.

    Could you describe the use case a bit more in case it might spark an alternative idea?