Skip to content

.NET Mock Lambda Test Tool test harness page non-functional when launched from JetBrains Rider (release 0.15.0) #1625

@Dakkith

Description

@Dakkith

Describe the bug

Running Amazon.Lambda.TestTool version 0.15.0 from JetBrains Rider (with the .NET executable Amazon.Lambda.TestTool.BlazorTester.dll as the launcher) results in a non-functional test page. None of the buttons work (unable to submit test events).

Inspecting the browser network debug tab shows that the "http://localhost:5050/_framework/blazor.server.js" returns a 404 not found error.

Uninstalling the tool and installing the previous version 0.14.1 works fine.

Expected Behavior

Expecting the blazor test page to be functional when clicking buttons to submit events.

Expecting the test page to receive a HTTP OK 200 status when requesting "http://localhost:5050/_framework/blazor.server.js" file.

Current Behavior

The page loads the static assets, but is not functional when attempting to interact with any of the buttons.

Inspecting the browser network debug tab shows that the "http://localhost:5050/_framework/blazor.server.js" returns a 404 not found error.

Reproduction Steps

Find the full path for the "Amazon.Lambda.TestTool.BlazorTester.dll" file:

%USERPROFILE%\.dotnet\tools\.store\amazon.lambda.testtool-6.0\0.15.0\amazon.lambda.testtool-6.0\0.15.0\tools\net6.0\any\Amazon.Lambda.TestTool.BlazorTester.dll

From within JetBrains Rider:

Select Run->Edit Configurations...
Push the + button to add a configuration and select .NET Executable
Set the Exe path field to the full path of Amazon.Lambda.TestTool.BlazorTester.dll as described above
Set the Working directory field to the .NET Core Lambda project root
Push OK

After following these steps, any time you start the debugger in Rider, it will subsequently launch the .NET Mock Lambda Test Tool.

Possible Solution

No response

Additional Information/Context

Have tried with multiple browsers, and against a different localhost URL (http://127.0.0.1:5050/).
Only restoring the previous version (0.14.1) of the tool got me back to a functional test harness page.

AWS .NET SDK and/or Package version used

Amazon.Lambda.TestTool (0.15.0)

Targeted .NET Platform

.NET 6

Operating System and version

Windows 10

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugThis issue is a bug.module/lambda-test-toolresponse-requestedWaiting on additional info and feedback. Will move to close soon in 7 days.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions