ADEN-1389 Mercury API should add wptx based on wgVar