Spring
為什麼選擇 Spring
概述 微服務 響應式 事件驅動 雲 Web 應用 無伺服器 批處理
學習
概述 快速入門 指南 部落格
專案
概述 Spring Boot Spring Framework Spring Cloud Spring Cloud Data Flow Spring Data Spring Integration Spring Batch Spring Security 檢視所有專案
  • 開發工具
  • Spring Tools 4 Spring Initializr
    學院
    課程 獲得認證
    解決方案
    概述 Spring Runtime Spring 諮詢 Spring 團隊學院 安全公告
    社群
    概述 活動 團隊
    spring-cloud-contract 4.2.1
      • Spring Cloud Contract 參考文件
      • 法律資訊
      • 入門
        • Spring Cloud Contract 介紹
        • 三秒鐘快速瀏覽
        • 開發您的第一個基於 Spring Cloud Contract 的應用
        • 使用生產者端契約的消費者驅動契約 (CDC) 分步指南
        • 下一步
      • 使用 Spring Cloud Contract
        • 使用 Nexus 或 Artifactory 中的存根進行提供者契約測試
        • 使用 Git 中的存根進行提供者契約測試
        • 使用生產者端契約的消費者驅動契約
        • 使用外部倉庫中的契約進行消費者驅動契約
        • 將生產者端契約推送到 Git 的消費者驅動契約
        • 為非 Spring 應用使用 Artifactory 中的存根進行提供者契約測試
        • 在非 JVM 環境中使用 Artifactory 中的存根進行提供者契約測試
        • 使用 REST Docs 和 Nexus 或 Artifactory 中的存根進行提供者契約測試
      • Spring Cloud Contract 特性
        • 契約 DSL
          • 常見頂層元素
          • 動態屬性
        • Spring Cloud Contract 整合
          • JAX-RS
          • 使用 WebTestClient 的 WebFlux
          • 使用 Explicit 模式的 WebFlux
          • 自定義模式
          • 使用 Context Paths
          • 使用 REST Docs
          • GraphQL
          • GRPC
        • 訊息傳遞
        • Spring Cloud Contract Stub Runner
          • Snapshot 版本
          • 將存根釋出為 JAR 包
          • Stub Runner Core
          • Stub Runner JUnit Rule 和 Stub Runner JUnit5 擴充套件
          • Stub Runner Spring Cloud
          • 使用 Stub Runner Boot 應用
          • 消費者驅動契約:每個消費者一個存根
          • 從某個位置獲取存根或契約定義
          • 在執行時生成存根
          • 沒有存根時失敗
          • 通用屬性
        • Spring Cloud Contract WireMock
      • 構建工具
        • Docker 專案
        • Gradle 專案
        • Maven 專案
      • “操作方法”指南
        • 為什麼使用 Spring Cloud Contract?
        • 如何使用 Groovy 以外的語言編寫契約?
        • 如何為契約提供動態值?
        • 如何進行存根版本控制?
        • 如何使用通用倉庫儲存契約而不是將其與生產者一起儲存?
        • 如何使用 Git 儲存契約和存根?
        • 如何除錯生成測試客戶端傳送的請求/響應?
        • 如何除錯 WireMock 傳送的對映、請求或響應?
        • 如何檢視HTTP伺服器存根中註冊的內容?
        • 如何引用檔案中的文字?
        • 如何從 Spring Cloud Contract 契約生成 YAML 或 X 檔案?
        • 如何處理傳遞依賴?
        • 如何從契約生成 Spring REST Docs 片段?
        • 如何從某個位置使用存根
        • 如何在執行時生成存根
        • 如果沒有契約或存根,如何讓構建透過
        • 如何標記契約正在進行中
      • Spring Cloud Contract 定製
        • DSL 定製
        • WireMock 定製
        • 使用可插拔架構
      • 常見應用屬性
        • 如何構建 Spring Cloud Contract
        • 配置屬性
        • YML Schema
    編輯此頁 GitHub 專案 Stack Overflow
    • spring-cloud-contract
    • “操作方法”指南
    • 如何檢視HTTP伺服器存根中註冊的內容?

    如何檢視HTTP伺服器存根中註冊的內容?

    您可以在 @AutoConfigureStubRunner、StubRunnerRule 或 StubRunnerExtension 上使用 mappingsOutputFolder 屬性,為每個 artifact ID 匯出所有對映。此外,還會附加啟動給定存根伺服器的埠。

    如何除錯 WireMock 傳送的對映、請求或響應? 如何引用檔案中的文字?
    • spring-cloud-contract
      • 4.3.0-SNAPSHOT
      • 4.3.0-RC1
      • 4.2.1當前版本
      • 4.1.6-SNAPSHOT
      • 4.1.5
    • 相關 Spring 文件
      • Spring Boot
      • Spring Framework
      • Spring Cloud
        • Spring Cloud Build
        • Spring Cloud Bus
        • Spring Cloud Circuit Breaker
        • Spring Cloud Commons
        • Spring Cloud Config
        • Spring Cloud Consul
        • Spring Cloud Contract
        • Spring Cloud Function
        • Spring Cloud Gateway
        • Spring Cloud Kubernetes
        • Spring Cloud Netflix
        • Spring Cloud OpenFeign
        • Spring Cloud Stream
        • Spring Cloud Task
        • Spring Cloud Vault
        • Spring Cloud Zookeeper
      • Spring Data
        • Spring Data Cassandra
        • Spring Data Commons
        • Spring Data Couchbase
        • Spring Data Elasticsearch
        • Spring Data JPA
        • Spring Data KeyValue
        • Spring Data LDAP
        • Spring Data MongoDB
        • Spring Data Neo4j
        • Spring Data Redis
        • Spring Data JDBC & R2DBC
        • Spring Data REST
      • Spring Integration
      • Spring Batch
      • Spring Security
        • Spring Authorization Server
        • Spring LDAP
        • Spring Security Kerberos
        • Spring Session
        • Spring Vault
      • Spring AI
      • Spring AMQP
      • Spring CLI
      • Spring GraphQL
      • Spring for Apache Kafka
      • Spring Modulith
      • Spring for Apache Pulsar
      • Spring Shell
    • 所有文件...
    Spring

    版權所有 © 2005 -Broadcom. 保留所有權利。"Broadcom" 一詞指代 Broadcom Inc. 和/或其子公司。
    使用條款 • 隱私政策 • 商標指南 • 感謝您 • 您的加州隱私權 • Cookie 設定

    Apache®, Apache Tomcat®, Apache Kafka®, Apache Cassandra™, and Apache Geode™ are trademarks or registered trademarks of the Apache Software Foundation in the United States and/or other countries. Java™, Java™ SE, Java™ EE, and OpenJDK™ are trademarks of Oracle and/or its affiliates. Kubernetes® is a registered trademark of the Linux Foundation in the United States and other countries. Linux® is the registered trademark of Linus Torvalds in the United States and other countries. Windows® and Microsoft® Azure are registered trademarks of Microsoft Corporation. “AWS” and “Amazon Web Services” are trademarks or registered trademarks of Amazon.com Inc. or its affiliates. All other trademarks and copyrights are property of their respective owners and are only mentioned for informative purposes. Other names may be trademarks of their respective owners.

    在所有 Spring 文件中搜索