func (ft *RestFlowTester) Stop() error {
	return ft.server.Stop()
}
Stop implements engine.EngineTester.Stop
package tester
import (
	"encoding/json"
	"net/http"
	"strconv"
	"github.com/julienschmidt/httprouter"
	"github.com/project-flogo/core/data/coerce"
	"github.com/project-flogo/core/support/log"
	"github.com/project-flogo/core/support/service"
	"github.com/project-flogo/flow/instance"
)
func init() {
	_ = service.RegisterFactory(&FlowTesterFactory{})
}
type FlowTesterFactory struct {
}
func (s *FlowTesterFactory) NewService(config *service.Config) (service.Service, error) {
	ft := &RestFlowTester{}
	err := ft.init(config.Settings)
	if err != nil {
		return nil, err
	}
	ft.reqProcessor = NewRequestProcessor()
	ft.logger = log.RootLogger()
	return ft, nil
}
type RestFlowTester struct {
	reqProcessor *RequestProcessor
	server       *Server
	logger       log.Logger
}
func (ft *RestFlowTester) Name() string {
	return "FlowTester"
}
func (ft *RestFlowTester) Start() error {
	return ft.server.Start()
}