23 Dec 2022 11:08 AM - edited 23 Dec 2022 11:27 AM
Hi all,
I am trying to use the Generate Clean URLs functionality to remote the hostnames from our dynamic web requests in our services. They follow the format https://host-name:1234/api/url etc and I am currently using the regex ^https?://.*:\\d* to identify the first portion (https://host-name:1234) to remove it and just show the /api/url portion but when I add this as a regex it isn't removed from the url in Dynamic Web Requests for the service, any ideas?
Solved! Go to Solution.
23 Dec 2022 01:52 PM
Hi @cameronduff
Instead, I recommend using a request naming rule with the content placeolder {URL:Path} as naming pattern like below :
Regards Aurélien.
03 Jan 2023 09:14 AM
Thank you! This has worked great
02 Jan 2023 12:19 PM
Hi @cameronduff, did the workaround mentioned above help you? If you found another solution to your problem, we'd love to hear about it, too! Thanks!
03 Jan 2023 09:13 AM
Hi, yes this worked great thanks!