@Test
public void testConvertWeaselBeaconToSpan_withDisabledSamplingFlagIsDiscarded() throws ServletException, IOException {

	// Given
	MockHttpServletRequest mockHttpServletRequest = new MockHttpServletRequest();
	mockHttpServletRequest.setParameter("ty", "pl");
	mockHttpServletRequest.setParameter("r", "1496751574200");
	mockHttpServletRequest.setParameter("u", "http://localhost:9966/petclinic/");
	mockHttpServletRequest.setParameter("ts", "-197");
	mockHttpServletRequest.setParameter("d", "518");
	mockHttpServletRequest.setParameter("sp", "0");
	mockHttpServletRequest.setParameter("t_unl", "0");
	mockHttpServletRequest.setParameter("t_red", "500");
	mockHttpServletRequest.setParameter("t_apc", "5");
	mockHttpServletRequest.setParameter("t_dns", "0");
	mockHttpServletRequest.setParameter("t_tcp", "0");
	mockHttpServletRequest.setParameter("t_ssl", "2");
	mockHttpServletRequest.setParameter("t_req", "38");
	mockHttpServletRequest.setParameter("t_rsp", "4");
	mockHttpServletRequest.setParameter("t_pro", "471");
	mockHttpServletRequest.setParameter("t_loa", "5");
	mockHttpServletRequest.setParameter("t_fp", "151");
	mockHttpServletRequest.setParameter("t_fp", "151");
	// When
	servlet.doPost(mockHttpServletRequest, new MockHttpServletResponse());
	// Then
	assertSpanIsDiscarded();
}