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

Add JSON content and JsonPath options to WebTestClient

    XMLWordPrintable

    Details

    • Last commented by a User:
      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

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

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              3 years, 31 weeks, 3 days ago