Unfortunately there is no native iOS only solution for this. As stated here and on other sites (with a little googling), OS X / MacOS does not act as an AirPlay receiver, only an AirPlay transmitter. For example, you can send your MacBook Pro screen somewhere, but your MacBook Pro cannot receive another screen.
You will either need third-party software like AirServer or Unicorns, an iOS app like Livestream, or an AppleTV. The AppleTV might be the easiest because of its HDMI port and ability to work with any screen that has an HDMI port. All AirPlay options will be limited to the range of the WiFi network you are accessing -- if you get too much distance between the iPad and the computer, it won't work.
Your question isn't clear whether you want live viewing or not, so if it does not matter and you're running iOS 11, another option would be to make a screen recording.