Source:
<code>public void testForExisting() throws Exception { BeaconAlleleRequest request = new BeaconAlleleRequest(); request.setReferenceName(Chromosome.X); request.setAssemblyId("GRCh37"); request.setReferenceBases("G"); request.setStart(100470026L); request.setEnd(100470026); request.setAlternateBases("A"); <START> request.setVariantType("SNV"); <END> request.setDatasetIds(Arrays.asList("PRJEB7218")); String url = UriComponentsBuilder.fromUriString("") .path("/v2/beacon/query") .queryParam("referenceName", request.getReferenceName()) .queryParam("referenceBases", request.getReferenceBases()) .queryParam("assemblyId", request.getAssemblyId()) .queryParam("alternateBases", request.getAlternateBases()) .queryParam("start", request.getStart()) .queryParam("end", request.getEnd()) .queryParam("variantType", request.getVariantType()) .queryParam("datasetIds", String.join(",", request.getDatasetIds())) .build().toString(); assertEquals(true, testBeaconHelper(url).getBody().get(0).isExists()); request.setStartMin(1); request.setStartMax(1); request.setEndMin(1); request.setEndMax(1); url = UriComponentsBuilder.fromUriString("") .path("/v2/beacon/query") .queryParam("referenceName", request.getReferenceName()) .queryParam("referenceBases", request.getReferenceBases()) .queryParam("assemblyId", request.getAssemblyId()) .queryParam("alternateBases", request.getAlternateBases()) .queryParam("start", request.getStart()) .queryParam("end", request.getEnd()) .queryParam("startMin", request.getStartMin()) .queryParam("startMax", request.getStartMax()) .queryParam("endMin", request.getEndMin()) .queryParam("endMax", request.getEndMax()) .queryParam("variantType", request.getVariantType()) .queryParam("datasetIds", String.join(",", request.getDatasetIds())) .build().toString(); assertEquals(true, testBeaconHelper(url).getBody().get(0).isExists()); }</code><technical_language>usual request alternate base variant type</technical_language>

Target:
public void testForExisting() throws Exception { BeaconAlleleRequest request = new BeaconAlleleRequest(); request.setReferenceName(Chromosome.X); request.setAssemblyId("GRCh37"); request.setReferenceBases("G"); request.setStart(100470026L); request.setEnd(100470026); request.setAlternateBases("A"); request.setVariantType("SNV"); request.setDatasetIds(Arrays.asList("PRJEB7218")); String url = UriComponentsBuilder.fromUriString("") .path("/v2/beacon/query") .queryParam("referenceName", request.getReferenceName()) .queryParam("referenceBases", request.getReferenceBases()) .queryParam("assemblyId", request.getAssemblyId()) .queryParam("alternateBases", request.getAlternateBases()) .queryParam("start", request.getStart()) .queryParam("end", request.getEnd()) .queryParam("datasetIds", String.join(",", request.getDatasetIds())) .build().toString(); assertTrue(testBeaconHelper(url).getBody().get(0).isExists()); request.setStartMin(1); request.setStartMax(1); request.setEndMin(1); request.setEndMax(1); url = UriComponentsBuilder.fromUriString("") .path("/v2/beacon/query") .queryParam("referenceName", request.getReferenceName()) .queryParam("referenceBases", request.getReferenceBases()) .queryParam("assemblyId", request.getAssemblyId()) .queryParam("start", request.getStart()) .queryParam("end", request.getEnd()) .queryParam("startMin", request.getStartMin()) .queryParam("startMax", request.getStartMax()) .queryParam("endMin", request.getEndMin()) .queryParam("endMax", request.getEndMax()) .queryParam("variantType", request.getVariantType()) .queryParam("datasetIds", String.join(",", request.getDatasetIds())) .build().toString(); assertTrue(testBeaconHelper(url).getBody().get(0).isExists()); }