jmeter-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 63025] Search and replace not working for port number
Date Wed, 02 Jan 2019 18:55:33 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=63025

--- Comment #8 from Felix Schumacher <felix.schumacher@internetallee.de> ---
(In reply to Philippe Mouawad from comment #6)
> (In reply to Felix Schumacher from comment #5)
> > Created attachment 36360 [details]
> > Replace port and protocol in HTTP Samplers
> > 
> > This is basically the diff from the originally attached source. It has been
> > refactored to eliminate duplicate code. That should make it easy to add more
> > parameters to be replaced, like the proxy parameters.
> 
> Hello, 
> Thanks for patch.
> Look good to me except that if I understand correctly, it would not be
> possible to replace port by ${portNumber} due to this:
> 
> (s) -> setPort(Integer.parseInt(s)

That has to be done, as setPort accepts int, only. The expression is probably
set on the ui element and not on the sampler.


> 
> Regards

-- 
You are receiving this mail because:
You are the assignee for the bug.
Mime
View raw message