Description
In my devproxyrc.json file, I have enabled to the ExecutionSummaryPlugin so that I can record and generate a summary of the requests and responses. This is the full definition of the file:
{
"$schema": "https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.19.1/rc.schema.json",
"plugins": [
{
"name": "ExecutionSummaryPlugin",
"enabled": true,
"pluginPath": "~appFolder/plugins/dev-proxy-plugins.dll",
"configSection": "executionSummaryPlugin"
},
{
"name": "GraphMockResponsePlugin",
"enabled": true,
"pluginPath": "~appFolder/plugins/dev-proxy-plugins.dll",
"configSection": "graphConnectorMocks"
}
],
"urlsToWatch": [
"https://graph.microsoft.com/v1.0/*",
"https://graph.microsoft.com/beta/*",
"https://graph.microsoft.us/v1.0/*",
"https://graph.microsoft.us/beta/*",
"https://dod-graph.microsoft.us/v1.0/*",
"https://dod-graph.microsoft.us/beta/*",
"https://microsoftgraph.chinacloudapi.cn/v1.0/*",
"https://microsoftgraph.chinacloudapi.cn/beta/*"
],
"graphConnectorMocks": {
"mocksFile": ".devproxy/graph-connector-mocks.json"
},
"executionSummaryPlugin": {
"groupBy": "url"
}
}
Expected behaviour
The plugin is correctly enabled and I can:
- See the recorded activity in the terminal
- Use the --summary-file-path parameter to store the recording in a file
Actual behaviour
The plugin is ignored:
- When I turn on the recording, I don't see any activity being displayed in the terminal
- When I try to launch devproxy with the parameter --summary-file-path, I'm getting the following error:
fail Unknown option(s): --summary-file-path
info TIP: Use --help view available options
info TIP: Are you missing a plugin? See: https://aka.ms/devproxy/plugins
Steps to reproduce
- Open the devproxy.rc file
- Add the following entry in the plugins section:
{
"name": "ExecutionSummaryPlugin",
"enabled": true,
"pluginPath": "~appFolder/plugins/dev-proxy-plugins.dll",
"configSection": "executionSummaryPlugin"
},
- Open the terminal
- Launch the following command:
devproxy --summary-file-path report.md
Observe how devproxy fails to start because the --summary-file-path isn't recognized.
Dev Proxy Version
0.19.1
Operating system (environment)
Windows
Shell
PowerShell
Configuration file
{
"$schema": "https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.19.1/rc.schema.json",
"plugins": [
{
"name": "ExecutionSummaryPlugin",
"enabled": true,
"pluginPath": "~appFolder/plugins/dev-proxy-plugins.dll",
"configSection": "executionSummaryPlugin"
},
{
"name": "GraphMockResponsePlugin",
"enabled": true,
"pluginPath": "~appFolder/plugins/dev-proxy-plugins.dll",
"configSection": "graphConnectorMocks"
}
],
"urlsToWatch": [
"https://graph.microsoft.com/v1.0/*",
"https://graph.microsoft.com/beta/*",
"https://graph.microsoft.us/v1.0/*",
"https://graph.microsoft.us/beta/*",
"https://dod-graph.microsoft.us/v1.0/*",
"https://dod-graph.microsoft.us/beta/*",
"https://microsoftgraph.chinacloudapi.cn/v1.0/*",
"https://microsoftgraph.chinacloudapi.cn/beta/*"
],
"graphConnectorMocks": {
"mocksFile": ".devproxy/graph-connector-mocks.json"
},
"executionSummaryPlugin": {
"groupBy": "url"
}
}
Additional Info
No response
Description
In my devproxyrc.json file, I have enabled to the ExecutionSummaryPlugin so that I can record and generate a summary of the requests and responses. This is the full definition of the file:
{ "$schema": "https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.19.1/rc.schema.json", "plugins": [ { "name": "ExecutionSummaryPlugin", "enabled": true, "pluginPath": "~appFolder/plugins/dev-proxy-plugins.dll", "configSection": "executionSummaryPlugin" }, { "name": "GraphMockResponsePlugin", "enabled": true, "pluginPath": "~appFolder/plugins/dev-proxy-plugins.dll", "configSection": "graphConnectorMocks" } ], "urlsToWatch": [ "https://graph.microsoft.com/v1.0/*", "https://graph.microsoft.com/beta/*", "https://graph.microsoft.us/v1.0/*", "https://graph.microsoft.us/beta/*", "https://dod-graph.microsoft.us/v1.0/*", "https://dod-graph.microsoft.us/beta/*", "https://microsoftgraph.chinacloudapi.cn/v1.0/*", "https://microsoftgraph.chinacloudapi.cn/beta/*" ], "graphConnectorMocks": { "mocksFile": ".devproxy/graph-connector-mocks.json" }, "executionSummaryPlugin": { "groupBy": "url" } }Expected behaviour
The plugin is correctly enabled and I can:
Actual behaviour
The plugin is ignored:
Steps to reproduce
{ "name": "ExecutionSummaryPlugin", "enabled": true, "pluginPath": "~appFolder/plugins/dev-proxy-plugins.dll", "configSection": "executionSummaryPlugin" },Observe how devproxy fails to start because the --summary-file-path isn't recognized.
Dev Proxy Version
0.19.1
Operating system (environment)
Windows
Shell
PowerShell
Configuration file
{ "$schema": "https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.19.1/rc.schema.json", "plugins": [ { "name": "ExecutionSummaryPlugin", "enabled": true, "pluginPath": "~appFolder/plugins/dev-proxy-plugins.dll", "configSection": "executionSummaryPlugin" }, { "name": "GraphMockResponsePlugin", "enabled": true, "pluginPath": "~appFolder/plugins/dev-proxy-plugins.dll", "configSection": "graphConnectorMocks" } ], "urlsToWatch": [ "https://graph.microsoft.com/v1.0/*", "https://graph.microsoft.com/beta/*", "https://graph.microsoft.us/v1.0/*", "https://graph.microsoft.us/beta/*", "https://dod-graph.microsoft.us/v1.0/*", "https://dod-graph.microsoft.us/beta/*", "https://microsoftgraph.chinacloudapi.cn/v1.0/*", "https://microsoftgraph.chinacloudapi.cn/beta/*" ], "graphConnectorMocks": { "mocksFile": ".devproxy/graph-connector-mocks.json" }, "executionSummaryPlugin": { "groupBy": "url" } }Additional Info
No response