Developer forum

Forum » Dynamicweb 10 » Testing tool for LI

Testing tool for LI

Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

Hi there,

In DW9, on the settings for LI there was an option to execute a test request against the configured URL. Where did that go in DW10? I used it a lot to test out connectivity; not just for live requests but also to test out batch requests and I miss it a lot.

Imar


Replies

 
Rasmus Sanggaard Dynamicweb Employee
Rasmus Sanggaard
Reply

Hi,

In the Live list screen you can see if it is connected (green dot, red dot). And you can test the request on the actual endpoint in the section, 'Connections'.

BR Rasmus Sanggaard

 
Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

For end point based connections I can do that, but not for "old" connections like a code unit, or can I? I.e. test out this connection set up in Live Integration I don't have a test option:

 
Rasmus Sanggaard Dynamicweb Employee
Rasmus Sanggaard
Reply

Hi,

You should still be able to use the 'Connected' status to see if there is a connection. You can also add it under 'Connections' if you want to send a request and test it. 

 

BR Rasmus Sanggaard

 
Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

I see, that makes sense. Good to see an old feature request (https://doc.dynamicweb.com/forum/integration/integration/whats-the-point-of-having-the-request-body-on-a-connection-endpoint-in-endpoint-management) now being available: ading the SOAP or other URLs to central end point management and reuse them in LI.

That said, it works but then it doesn't :-) I can indeed set up my LI connection and then put in a body and submit the request (One minor problem: it seems you need Save before trhe submit actually sends it). However, the response is a mess and can't be read:

When I copy the text on screen into a text document I do get some XML but it's clipped. This is all I get for a products request:

<?xml version="1.0" encoding="utf-8"?>
<tables ExportIsDone="false">
  <config>
    <productCustomField typeId="12" templateName="ProductGroup" systemName="ProductGroup" name="ProductGroup" />
    <productCustomField typeId="12" templateName="ProductShopItem" systemName="ProductShopItem" name="ProductShopItem" />
    <productCustomField typeId="7" templateName="ProductQtyMultiplum" systemName="ProductQtyMultiplum" name="ProductQtyMultiplum" />
    <productCustomField typeId="7" templateName="Pro

So this isn't really usable for testing requests at the moment.

Also, that results panel;s disappears when you resize / maximize your browser window.

Imar

 

 
Rasmus Sanggaard Dynamicweb Employee
Rasmus Sanggaard
Reply
This post has been marked as an answer

Hi,

Good to hear that the changes we've made make some sense :-)

Actually, in newer versions of DW, you can send the request before saving, giving you the option to test requests before saving and closing your work.
There was a bug in the response overlay that has also been fixed in newer versions. You can resize it in the corner, though.

You should get the full response and not a truncated one. Maybe try on a newer DW solution?

BR Rasmus Sanggaard

Votes for this answer: 1
 
Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

Tried it on a newer version and it looks much better there, thanks!

 

You must be logged in to post in the forum