New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Variable in HTTP request within template not updated #271

Closed
eikeg opened this Issue Jul 25, 2017 · 0 comments

Comments

Projects
None yet
2 participants
@eikeg

eikeg commented Jul 25, 2017

A parameter of a template is shown correctly in an echo message, but not in an http request.

The following sample code creates two times the GET request with id=123 (instead of id=456the second time):

	<template name="httpClient">
		<echo>
			<message>ID = ${id}</message>
		</echo>
		<http:send-request client="httpIccs">
			<http:GET path="/iccs-xsoap/version?id=${id}" />
		</http:send-request>
	</template>
	
			<call-template name="httpClient">
				<parameter name="id" value="123" />
			</call-template>
			<call-template name="httpClient">
				<parameter name="id" value="456" />
			</call-template>

This seems to apply to version 2.7.2 only.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment