Forum Discussion

LClements's avatar
LClements
New Contributor
12 years ago

Feature similar to JMeter 'Retrieve All Embedded Resources..

Hi,
What is the SoapUI Pro equivalent for JMeter 'Retrieve All Embedded Resources from HTML files".
And where to set it.

Thanks.
Regards,
Sam.

3 Replies

  • Hi,

    SoapUI focuses more on API testing and it does not have the equivalent feature of 'Retrieve All Embedded Resources from HTML files".

    But if you want you can write your own groovy script test step for achieving this.

    Regards,
    Shadid
    SmartBear Sweden
  • LClements's avatar
    LClements
    New Contributor
    Hi,
    Thanks for your reply.

    1. There is a checkbox selection on http request 'Download resources' what is that supposed to do?
    2. Could you please guide me with sample code how to do that in groovy scripting.

    Appreciate your help.
    Regards,
    Sam.
  • Hi,

    Good that you mentioned about 'Download resources' option.

    'Download resources' also downloads resources but limited to scripts, css, images and xml/xhtml/html. So, if this fulfills your need you can actually use this option. Also this is single threaded and does not do resource level profiling. So, you get aggregated time.

    Otherwise, If you need to do more advanced stuff I would suggest to use any free java libraries and use the functions from groovy script. Here is a link you might find useful http://java-source.net/open-source/crawlers

    Regards,
    Shadid
    SmartBear Sweden