Am 16. November 2017 09:16:16 MEZ schrieb Philippe Mouawad <[email protected]>: >Hello Felix, >Just to be sure to understand, what is the use case you have in mind ?
To help those, who have to extract a token from an url that was extracted from a HTML document. This is needed often, when trying to follow a sso page flow. If you search for jmeter url parameter extraction on the web, you will get many solutions based on regexes. But that seems a bit too complicated for most users. Felix > >Thank you > >On Thu, Nov 16, 2017 at 9:05 AM, Felix Schumacher < >[email protected]> wrote: > >> Hi all, >> >> as Philippe is adding a few new functions to jmeter, I wondered >whether we >> should add a function to extract parameter values from URLs. >> >> Something along the lines >> >> __extractParamValueFromUrl(${url}, paramName) >> >> It could take a third parameter indicating which value to return, >when the >> paramName is used multiple times in the URL path. >> >> What do you think? >> Felix
