[ https://issues.apache.org/jira/browse/NIFI-9267?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joe Gresock updated NIFI-9267: ------------------------------ Fix Version/s: 1.16.0 Resolution: Fixed Status: Resolved (was: Patch Available) > Replace TestServer with OkHttp MockWebServer > -------------------------------------------- > > Key: NIFI-9267 > URL: https://issues.apache.org/jira/browse/NIFI-9267 > Project: Apache NiFi > Issue Type: Improvement > Components: Core Framework, Extensions > Reporter: David Handermann > Assignee: David Handermann > Priority: Minor > Fix For: 1.16.0 > > Time Spent: 0.5h > Remaining Estimate: 0h > > The {{nifi-standard-web-test-utils}} module includes a {{TestServer}} class > based on Jetty to support testing various components that require access to > an HTTP server. The OkHttp MockWebServer library provides a straightforward > API for creating an HTTP with expected responses. InvokeHTTP unit tests > already leverage MockWebServer, and remaining references to {{TestServer}} > should be replaced with OkHttp MockWebServer. -- This message was sent by Atlassian Jira (v8.20.1#820001)