Why target.host doesn't work in setting host but target.url works

7784-hosterr.jpg

I've a situation where I'm choosing host depending on the env and I'm setting the host value in a javascript in preflow of targetendpoint.

The behavior I've seen is context.setVariable(target.host,value) picks the value but fails to use it. where as context.setVariable(target.url,value) works fine

please see attached pic for trace

0 1 278
1 REPLY 1

I don't have a good answer to your question.

Why does the Quota policy have to be configured with an Interval and a TimeUnit? Why is the button to deploy a proxy shown in blue?

These are just design decisions that have been taken.

I don't know what you mean by "picks the value but fails to use it."

The behavior of the context variables in Apigee Edge is described here, on the reference page.

Why the variables do what they do, and why other variables don't do anything... is not described there. It's just how the thing works.