This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

As per the tip - "Scripting: How to reconstruct request URL in the REST virtual service", we need to append parameters to real service and invoke the updated URL

We have created below code to implement -

StringBuilder url = new StringBuilder();
            string vsConfigurationPath = sv.ServiceInfo.Endpoints[0].RealAddress;
            url.Append(vsConfigurationPath);
            url.Append("12345");
            url.Append("?");
            url.Append("version").Append("=").Append("1");
            sv.MessageLogger.Warn(url);

Could you please help us with redirect the request to reconstructed real service URL.