Missing "Create Virtual Service" option for Swagger YAML in IntelliJ VSE Manager Plugin
search cancel

Missing "Create Virtual Service" option for Swagger YAML in IntelliJ VSE Manager Plugin

book

Article ID: 434078

calendar_today

Updated On:

Products

Service Virtualization

Issue/Introduction

After successfully installing and configuring the VSE Manager Plugin in IntelliJ IDEA, users can create virtual services from RR pairs and MAR files. However, when right-clicking a valid Swagger YAML file, the Create Virtual Service option is missing from the context menu. The same Swagger file works correctly when used to create a service via the DevTest Workstation.

Environment

  • DevTest: 10.8.4
  • IDE: IntelliJ IDEA (Ultimate Edition) 2024.x, 2025.x
  • Plugin: VSE Manager Plugin

Cause

The VSE Manager Plugin fails to recognize the "Create Virtual Service" action if there are extra periods (.) in the filename or in any part of the folder path where the YAML file is stored. The plugin's logic for context menu visibility is disrupted by non-extension periods in the path string.

Resolution

To restore the missing context menu option, remove any periods from the filename and folder path, ensuring that only the file extension contains a period.

  1. Identify Naming Conflicts: Review the full path of the Swagger file.
    • Example of a problematic path: C:/LISA.Project/v1.0/swagger.v1.yaml
  2. Rename Files and Folders: Replace periods with underscores (_) or hyphens (-).
    • Example of a corrected path: C:/LISA_Project/v1_0/swagger_v1.yaml
  3. Refresh IntelliJ: Allow the IDE to synchronize the changes.
  4. Verify: Right-click the YAML file; the Create Virtual Service option should now be visible.