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
    static void
    Capture(io.keploy.grpc.stubs.Service.TestCaseReq testCaseReq)
     
    static void
    CaptureTestCases(io.keploy.regression.KeployInstance ki, String reqBody, Map<String,String> params, io.keploy.grpc.stubs.Service.HttpResp httpResp)
     
    static boolean
    check(String testrunId, io.keploy.grpc.stubs.Service.TestCase tc)
     
    static void
    denoise(String id, io.keploy.grpc.stubs.Service.TestCaseReq testCaseReq)
     
    static String
    end(String id, boolean status)
     
    static List<io.keploy.grpc.stubs.Service.TestCase>
     
    static io.keploy.grpc.stubs.Service.HttpResp.Builder
     
    static void
    put(io.keploy.grpc.stubs.Service.TestCaseReq testCaseReq)
     
    static io.keploy.grpc.stubs.Service.HttpResp
    simulate(io.keploy.grpc.stubs.Service.TestCase testCase)
     
    static String
    start(String total)
     
    static 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 static void CaptureTestCases(io.keploy.regression.KeployInstance ki, String reqBody, Map<String,String> params, io.keploy.grpc.stubs.Service.HttpResp httpResp)
    • Capture

      public static void Capture(io.keploy.grpc.stubs.Service.TestCaseReq testCaseReq)
    • put

      public static void put(io.keploy.grpc.stubs.Service.TestCaseReq testCaseReq)
    • denoise

      public static void denoise(String id, io.keploy.grpc.stubs.Service.TestCaseReq testCaseReq)
    • simulate

      public static io.keploy.grpc.stubs.Service.HttpResp simulate(io.keploy.grpc.stubs.Service.TestCase testCase)
    • GetResp

      public static io.keploy.grpc.stubs.Service.HttpResp.Builder GetResp(String id)
    • Test

      public static void Test()
    • start

      public static String start(String total)
    • end

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

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

      public static boolean check(String testrunId, io.keploy.grpc.stubs.Service.TestCase tc)