Class GrpcService

java.lang.Object
io.keploy.service.GrpcService

public class GrpcService extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static io.grpc.ManagedChannel
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Capture(io.keploy.grpc.stubs.Service.TestCaseReq testCaseReq)
     
    void
    CaptureTestCases(io.keploy.regression.KeployInstance ki, String reqBody, Map<String,String> params, io.keploy.grpc.stubs.Service.HttpResp httpResp)
     
    boolean
    check(String testrunId, io.keploy.grpc.stubs.Service.TestCase tc)
     
    void
    denoise(String id, io.keploy.grpc.stubs.Service.TestCaseReq testCaseReq)
     
    end(String id, boolean status)
     
    List<io.keploy.grpc.stubs.Service.TestCase>
     
    io.keploy.grpc.stubs.Service.HttpResp.Builder
     
    void
    put(io.keploy.grpc.stubs.Service.TestCaseReq testCaseReq)
     
    io.keploy.grpc.stubs.Service.HttpResp
    simulate(io.keploy.grpc.stubs.Service.TestCase testCase)
     
    start(String total)
     
    void
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • channel

      public static io.grpc.ManagedChannel channel
  • Constructor Details

    • GrpcService

      public GrpcService()
  • Method Details

    • CaptureTestCases

      public void CaptureTestCases(io.keploy.regression.KeployInstance ki, String reqBody, Map<String,String> params, io.keploy.grpc.stubs.Service.HttpResp httpResp) throws Exception
      Throws:
      Exception
    • Capture

      public void Capture(io.keploy.grpc.stubs.Service.TestCaseReq testCaseReq) throws Exception
      Throws:
      Exception
    • put

      public void put(io.keploy.grpc.stubs.Service.TestCaseReq testCaseReq) throws Exception
      Throws:
      Exception
    • denoise

      public void denoise(String id, io.keploy.grpc.stubs.Service.TestCaseReq testCaseReq) throws Exception
      Throws:
      Exception
    • simulate

      public io.keploy.grpc.stubs.Service.HttpResp simulate(io.keploy.grpc.stubs.Service.TestCase testCase) throws Exception
      Throws:
      Exception
    • GetResp

      public io.keploy.grpc.stubs.Service.HttpResp.Builder GetResp(String id) throws Exception
      Throws:
      Exception
    • Test

      public void Test() throws Exception
      Throws:
      Exception
    • start

      public String start(String total)
    • end

      public String end(String id, boolean status)
    • fetch

      public List<io.keploy.grpc.stubs.Service.TestCase> fetch()
    • check

      public boolean check(String testrunId, io.keploy.grpc.stubs.Service.TestCase tc) throws Exception
      Throws:
      Exception