Skip to content

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

Merged
kpavlov merged 1 commit into
mainfrom
kpavlov/auth-tests-sse
Feb 26, 2026
Merged

test: Add basic authentication integration tests for SSE transport#561
kpavlov merged 1 commit into
mainfrom
kpavlov/auth-tests-sse

Conversation

@kpavlov

@kpavlov kpavlov commented Feb 23, 2026

Copy link
Copy Markdown
Contributor

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

@kpavlov kpavlov added the tests Test additions and improvements label Feb 23, 2026
- 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 zarechneva-a February 23, 2026 19:21

@zarechneva-a zarechneva-a left a comment

Copy link
Copy Markdown
Contributor

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

@kpavlov
kpavlov merged commit 27b419c into main Feb 26, 2026
17 of 18 checks passed
@kpavlov
kpavlov deleted the kpavlov/auth-tests-sse branch February 26, 2026 07:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tests Test additions and improvements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants