Annotation Type HoverflyCapture


  • @Inherited
    @Target(TYPE)
    @Retention(RUNTIME)
    public @interface HoverflyCapture
    Annotation used along with HoverflyExtension to run Hoverfly in capture mode By default, it exports captured simulation file to default Hoverfly test resources path ("src/test/resources/hoverfly") with filename equals to the fully qualified class name of the annotated class.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      HoverflyConfig config
      Hoverfly configurations
      java.lang.String filename
      The name for the exported simulation file, eg.
      java.lang.String path
      The path for exporting the simulation file
    • Element Detail

      • path

        java.lang.String path
        The path for exporting the simulation file
        Default:
        "src/test/resources/hoverfly"
      • filename

        java.lang.String filename
        The name for the exported simulation file, eg. my-simulation.json
        Default:
        ""