Generated by TestNG with ReportNG at 19:51 PDT on Tuesday 25 August 2020
root@9adf47d9b258 / Java 11.0.8 (Ubuntu) / Linux 4.14.186-146.268.amzn2.x86_64 (amd64)

REST: Node and item manipulation using REST API - XML - #4229, #4728

Suites · Log Output

Test duration : 9.848s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.095s
2020-08-25 20:07:08 |

2020-08-25 20:07:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-25 20:07:08 | ------------------------------------

2020-08-25 20:07:08 | [Mutex] waiting for: [configured:node:node-b036f576-f535-41a7-ab81-3916710cf609:node-6905e9bc-96a6-41c4-90eb-8a89cbac4b14]

2020-08-25 20:07:08 | [Mutex] received everything.

2020-08-25 20:07:08 | [Mutex] isItemNotified: configured:node:node-b036f576-f535-41a7-ab81-3916710cf609:node-6905e9bc-96a6-41c4-90eb-8a89cbac4b14 :: true

2020-08-25 20:07:09 | [Mutex] waiting for: [received:nodes:2efaeae8-b75f-42e4-b83e-0ba3badc5992:localhost]

2020-08-25 20:07:09 | [Mutex] received everything.

2020-08-25 20:07:09 | [Mutex] isItemNotified: received:node:2efaeae8-b75f-42e4-b83e-0ba3badc5992:localhost:node-b036f576-f535-41a7-ab81-3916710cf609:Node b036f576-f535-41a7-ab81-3916710cf609 :: true

2020-08-25 20:07:09 | [Mutex] waiting for: [received:nodes:8f16c5f4-a256-4e84-80e7-66036d3a2e97:localhost]

2020-08-25 20:07:09 | [Mutex] received everything.

2020-08-25 20:07:09 | [Mutex] isItemNotified: received:node:8f16c5f4-a256-4e84-80e7-66036d3a2e97:localhost:node-b036f576-f535-41a7-ab81-3916710cf609:Node b036f576-f535-41a7-ab81-3916710cf609 :: false

createNodes 1.393s
2020-08-25 20:07:05 |

2020-08-25 20:07:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-25 20:07:05 | ------------------------------------

2020-08-25 20:07:05 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-b036f576-f535-41a7-ab81-3916710cf609</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node b036f576-f535-41a7-ab81-3916710cf609</title></pubsub></data>

2020-08-25 20:07:06 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-08-25 20:07:07 | [Mutex] waiting for: [received:nodes:c0a1fb5e-68ef-40a7-96fe-47b101e6ae5a:localhost]

2020-08-25 20:07:07 | [Mutex] received everything.

2020-08-25 20:07:07 | [Mutex] isItemNotified: received:node:c0a1fb5e-68ef-40a7-96fe-47b101e6ae5a:localhost:node-b036f576-f535-41a7-ab81-3916710cf609:Node b036f576-f535-41a7-ab81-3916710cf609 :: true

createSubnodes 1.031s
2020-08-25 20:07:07 |

2020-08-25 20:07:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-25 20:07:07 | ------------------------------------

2020-08-25 20:07:07 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-6905e9bc-96a6-41c4-90eb-8a89cbac4b14</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 6905e9bc-96a6-41c4-90eb-8a89cbac4b14</title></pubsub></data>

2020-08-25 20:07:07 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-08-25 20:07:08 | [Mutex] waiting for: [received:nodes:f8b49c12-5c24-4c83-9c66-3cb96caf12e1:localhost]

2020-08-25 20:07:08 | [Mutex] received everything.

2020-08-25 20:07:08 | [Mutex] isItemNotified: received:node:f8b49c12-5c24-4c83-9c66-3cb96caf12e1:localhost:node-6905e9bc-96a6-41c4-90eb-8a89cbac4b14:Node 6905e9bc-96a6-41c4-90eb-8a89cbac4b14 :: true

deleteNodes 1.018s
2020-08-25 20:07:13 |

2020-08-25 20:07:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-25 20:07:13 | ------------------------------------

2020-08-25 20:07:13 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-6905e9bc-96a6-41c4-90eb-8a89cbac4b14</node></data>

2020-08-25 20:07:13 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-08-25 20:07:14 | [Mutex] waiting for: [received:nodes:383b1958-419e-4015-9d9d-0c4de953f752:localhost]

2020-08-25 20:07:14 | [Mutex] received everything.

2020-08-25 20:07:14 | [Mutex] isItemNotified: received:node:383b1958-419e-4015-9d9d-0c4de953f752:localhost:node-6905e9bc-96a6-41c4-90eb-8a89cbac4b14:Node 6905e9bc-96a6-41c4-90eb-8a89cbac4b14 :: false

deleteSubnodes 1.154s
2020-08-25 20:07:12 |

2020-08-25 20:07:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-25 20:07:12 | ------------------------------------

2020-08-25 20:07:12 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-b036f576-f535-41a7-ab81-3916710cf609</node></data>

2020-08-25 20:07:12 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-08-25 20:07:13 | [Mutex] waiting for: [received:nodes:49d3d364-6981-4e3f-8631-4eefe4d47214:localhost]

2020-08-25 20:07:13 | [Mutex] received everything.

2020-08-25 20:07:13 | [Mutex] isItemNotified: received:node:49d3d364-6981-4e3f-8631-4eefe4d47214:localhost:node-b036f576-f535-41a7-ab81-3916710cf609:Node b036f576-f535-41a7-ab81-3916710cf609 :: false

2020-08-25 20:07:13 | [Mutex] waiting for: [received:nodes:a6942ae0-121a-4cdf-97b8-a7178f99c178:localhost]

2020-08-25 20:07:13 | [Mutex] received everything.

2020-08-25 20:07:13 | [Mutex] isItemNotified: received:node:a6942ae0-121a-4cdf-97b8-a7178f99c178:localhost:node-b036f576-f535-41a7-ab81-3916710cf609:Node b036f576-f535-41a7-ab81-3916710cf609 :: false

publishItemsToNodes 0.230s
2020-08-25 20:07:10 |

2020-08-25 20:07:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-25 20:07:10 | ------------------------------------

2020-08-25 20:07:10 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-b036f576-f535-41a7-ab81-3916710cf609</node><item-id>item-4c31897e-7ca7-4305-bdf2-cb108069901a</item-id><entry><test>item-4c31897e-7ca7-4305-bdf2-cb108069901a</test></entry></data>

2020-08-25 20:07:10 | from localhost for action publish-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-4c31897e-7ca7-4305-bdf2-cb108069901a</value></item-id></result>

2020-08-25 20:07:10 | [Mutex] waiting for: [published:item:notifieditem-4c31897e-7ca7-4305-bdf2-cb108069901a:admin@test-domain.com]

2020-08-25 20:07:10 | [Mutex] received everything.

2020-08-25 20:07:10 | [Mutex] isItemNotified: published:item:notifieditem-4c31897e-7ca7-4305-bdf2-cb108069901a:admin@test-domain.com :: true

retractItemsFromNodes 0.199s
2020-08-25 20:07:10 |

2020-08-25 20:07:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-25 20:07:10 | ------------------------------------

2020-08-25 20:07:10 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-b036f576-f535-41a7-ab81-3916710cf609</node><item-id>item-4c31897e-7ca7-4305-bdf2-cb108069901a</item-id></data>

2020-08-25 20:07:11 | from localhost for action delete-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-4c31897e-7ca7-4305-bdf2-cb108069901a</value></item-id></result>

2020-08-25 20:07:11 | [Mutex] received everything.

2020-08-25 20:07:11 | [Mutex] isItemNotified: retracted:item:notifieditem-4c31897e-7ca7-4305-bdf2-cb108069901a:admin@test-domain.com :: true

retrieveItemsFromNodes 0.302s
2020-08-25 20:07:10 |

2020-08-25 20:07:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-25 20:07:10 | ------------------------------------

2020-08-25 20:07:10 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-b036f576-f535-41a7-ab81-3916710cf609</node><item-id>item-4c31897e-7ca7-4305-bdf2-cb108069901a</item-id></data>

2020-08-25 20:07:10 | from localhost for action retrieve-item got result code 200 and payload
<result><title>Retrive PubSub node item</title><node type="text-single" label="Node"><value>node-b036f576-f535-41a7-ab81-3916710cf609</value></node><item-id type="text-single" label="Item ID"><value>item-4c31897e-7ca7-4305-bdf2-cb108069901a</value></item-id><item type="text-multi" label="Item"><value><item id="item-4c31897e-7ca7-4305-bdf2-cb108069901a"><test>item-4c31897e-7ca7-4305-bdf2-cb108069901a</test></item></value></item></result>

2020-08-25 20:07:10 | [Mutex] notify: [retrieved:item:item-4c31897e-7ca7-4305-bdf2-cb108069901a:payload-matches:true:localhost]

2020-08-25 20:07:10 | [Mutex] received everything.

2020-08-25 20:07:10 | [Mutex] isItemNotified: retrieved:item:item-4c31897e-7ca7-4305-bdf2-cb108069901a:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2020-08-25 20:07:10 |

2020-08-25 20:07:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-25 20:07:10 | ------------------------------------

2020-08-25 20:07:10 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2020-08-25 20:07:10 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-b036f576-f535-41a7-ab81-3916710cf609</value><value>test</value><value>node-6905e9bc-96a6-41c4-90eb-8a89cbac4b14</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2020-08-25 20:07:10 |

2020-08-25 20:07:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-25 20:07:10 | ------------------------------------

2020-08-25 20:07:10 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-b036f576-f535-41a7-ab81-3916710cf609)</node-pattern></data>

2020-08-25 20:07:10 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.131s
2020-08-25 20:07:09 |

2020-08-25 20:07:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-25 20:07:09 | ------------------------------------

2020-08-25 20:07:09 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-b036f576-f535-41a7-ab81-3916710cf609</node><jids><value>admin@test-domain.com</value></jids></data>

2020-08-25 20:07:09 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.243s
2020-08-25 20:07:11 |

2020-08-25 20:07:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-25 20:07:11 | ------------------------------------

2020-08-25 20:07:11 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-b036f576-f535-41a7-ab81-3916710cf609</node><jids><value>admin@test-domain.com</value></jids></data>

2020-08-25 20:07:11 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>