Uploaded image for project: 'Spring Framework'
  1. Spring Framework
  2. SPR-15420

Add JSON content and JsonPath options to WebTestClient

    XMLWordPrintable

Details

    • true

    Description

      When using WebFlux, Spring Boot doesn't support natively MockMvc autoconfiguration with SpringBootTest.

      Thus, you need to test against WebTestClient but it doesn't provide all features of MockMvc API. As example, JSON support :

      Attachments

        Activity

          People

            rstoya05-aop Rossen Stoyanchev
            LoganMzz Logan Mauzaize
            Spring Issues Spring Issues
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              3 years, 47 weeks, 2 days ago