Skip to content

Comments

test: Add basic authentication integration tests for SSE transport#561

Open
kpavlov wants to merge 1 commit intomainfrom
kpavlov/auth-tests-sse
Open

test: Add basic authentication integration tests for SSE transport#561
kpavlov wants to merge 1 commit intomainfrom
kpavlov/auth-tests-sse

Conversation

@kpavlov
Copy link
Contributor

@kpavlov kpavlov commented Feb 23, 2026

Add basic authentication integration tests for SSE transport

  • Added AbstractAuthenticationTest base class to define reusable scenarios for authentication tests.
  • Implemented SseAuthenticationTest for SSE transport.
  • Added support for Ktor server-auth and updated project dependencies.

Motivation and Context

  1. To verify that Route extensions work for SSE protocol
  2. To lay a foundation for security tests for other HTTP-based protocols

How Has This Been Tested?

Breaking Changes

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • New test added
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update

Checklist

  • I have read the MCP Documentation
  • My code follows the repository's style guidelines
  • New and existing tests pass locally
  • I have added appropriate error handling
  • I have added or updated documentation as needed

- Added `AbstractAuthenticationTest` base class to define reusable scenarios for authentication tests.
- Implemented `SseAuthenticationTest` for SSE transport.
- Added support for Ktor `server-auth` and updated project dependencies.
@kpavlov kpavlov force-pushed the kpavlov/auth-tests-sse branch from d52808d to edbb1ea Compare February 23, 2026 18:05
@kpavlov kpavlov requested a review from devcrocod February 23, 2026 19:21
@kpavlov kpavlov marked this pull request as ready for review February 23, 2026 19:21
@kpavlov kpavlov requested a review from aozherelyeva February 23, 2026 19:21
Copy link
Collaborator

@aozherelyeva aozherelyeva left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good for me, thank you very much

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants