code: def test_segmentation_asap(self):
      if not torch.cuda.is_available():
          return
  
      model = "segmentation_nuclei"
      image = "JP2K-33003-1"
      wsi = {"level": 0, "size": [2000, 2000], "pos": [2000, 4000]}
  
      response = self.client.post(
          f"/infer/wsi/{model}?image={image}&output=asap", json=wsi
      )
      assert response.status_code == 200
      time.sleep(1)
  
file_path: MONAILabel/tests/unit/endpoints/test_infer_wsi.py
imports: import time
  import unittest
  import torch
  from .context import BasicEndpointV4TestSuite
label_desc: Use image node_id 1 for calling the EndPointWSIInfer obj's underlying member method code with example usage: obj.test_segmentation_asap() without return types