Generated by TestNG with ReportNG at 21:49 PST on Monday 30 November 2020
root@87f6aca6b6f2 / 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 : 10.108s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.122s
2020-11-30 22:04:10 |

2020-11-30 22:04:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-30 22:04:10 | ------------------------------------

2020-11-30 22:04:10 | [Mutex] waiting for: [configured:node:node-3dff0ec6-5a24-4a5f-bee5-a231f499ec05:node-a7a19265-614b-4694-8622-eeed73e63ebc]

2020-11-30 22:04:10 | [Mutex] received everything.

2020-11-30 22:04:10 | [Mutex] isItemNotified: configured:node:node-3dff0ec6-5a24-4a5f-bee5-a231f499ec05:node-a7a19265-614b-4694-8622-eeed73e63ebc :: true

2020-11-30 22:04:11 | [Mutex] waiting for: [received:nodes:f4f52d0c-ef8a-4cfe-b96c-1ee3acec4546:localhost]

2020-11-30 22:04:11 | [Mutex] received everything.

2020-11-30 22:04:11 | [Mutex] isItemNotified: received:node:f4f52d0c-ef8a-4cfe-b96c-1ee3acec4546:localhost:node-3dff0ec6-5a24-4a5f-bee5-a231f499ec05:Node 3dff0ec6-5a24-4a5f-bee5-a231f499ec05 :: true

2020-11-30 22:04:11 | [Mutex] waiting for: [received:nodes:2a9fb6c5-e769-439b-b6a7-38155dc7a940:localhost]

2020-11-30 22:04:11 | [Mutex] received everything.

2020-11-30 22:04:11 | [Mutex] isItemNotified: received:node:2a9fb6c5-e769-439b-b6a7-38155dc7a940:localhost:node-3dff0ec6-5a24-4a5f-bee5-a231f499ec05:Node 3dff0ec6-5a24-4a5f-bee5-a231f499ec05 :: false

createNodes 1.579s
2020-11-30 22:04:07 |

2020-11-30 22:04:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-30 22:04:07 | ------------------------------------

2020-11-30 22:04:07 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-3dff0ec6-5a24-4a5f-bee5-a231f499ec05</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 3dff0ec6-5a24-4a5f-bee5-a231f499ec05</title></pubsub></data>

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

2020-11-30 22:04:08 | [Mutex] waiting for: [received:nodes:2e85b587-69b8-45c1-8f42-108c5c1ccdd8:localhost]

2020-11-30 22:04:08 | [Mutex] waiting for: [received:nodes:2e85b587-69b8-45c1-8f42-108c5c1ccdd8:localhost]

2020-11-30 22:04:08 | [Mutex] received everything.

2020-11-30 22:04:08 | [Mutex] isItemNotified: received:node:2e85b587-69b8-45c1-8f42-108c5c1ccdd8:localhost:node-3dff0ec6-5a24-4a5f-bee5-a231f499ec05:Node 3dff0ec6-5a24-4a5f-bee5-a231f499ec05 :: true

createSubnodes 1.030s
2020-11-30 22:04:08 |

2020-11-30 22:04:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-30 22:04:08 | ------------------------------------

2020-11-30 22:04:08 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-a7a19265-614b-4694-8622-eeed73e63ebc</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node a7a19265-614b-4694-8622-eeed73e63ebc</title></pubsub></data>

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

2020-11-30 22:04:10 | [Mutex] waiting for: [received:nodes:bdda6fd8-5579-40dc-9477-ad1c41eff10d:localhost]

2020-11-30 22:04:10 | [Mutex] waiting for: [received:nodes:bdda6fd8-5579-40dc-9477-ad1c41eff10d:localhost]

2020-11-30 22:04:10 | [Mutex] received everything.

2020-11-30 22:04:10 | [Mutex] isItemNotified: received:node:bdda6fd8-5579-40dc-9477-ad1c41eff10d:localhost:node-a7a19265-614b-4694-8622-eeed73e63ebc:Node a7a19265-614b-4694-8622-eeed73e63ebc :: true

deleteNodes 1.022s
2020-11-30 22:04:15 |

2020-11-30 22:04:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-30 22:04:15 | ------------------------------------

2020-11-30 22:04:15 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-a7a19265-614b-4694-8622-eeed73e63ebc</node></data>

2020-11-30 22:04:15 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-11-30 22:04:16 | [Mutex] waiting for: [received:nodes:eb51de3c-6404-4421-b375-8b914f56cc84:localhost]

2020-11-30 22:04:16 | [Mutex] received everything.

2020-11-30 22:04:16 | [Mutex] isItemNotified: received:node:eb51de3c-6404-4421-b375-8b914f56cc84:localhost:node-a7a19265-614b-4694-8622-eeed73e63ebc:Node a7a19265-614b-4694-8622-eeed73e63ebc :: false

deleteSubnodes 1.140s
2020-11-30 22:04:14 |

2020-11-30 22:04:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-30 22:04:14 | ------------------------------------

2020-11-30 22:04:14 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-3dff0ec6-5a24-4a5f-bee5-a231f499ec05</node></data>

2020-11-30 22:04:14 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-11-30 22:04:15 | [Mutex] waiting for: [received:nodes:8baef8b5-5065-4eec-b5aa-e1432189a119:localhost]

2020-11-30 22:04:15 | [Mutex] received everything.

2020-11-30 22:04:15 | [Mutex] isItemNotified: received:node:8baef8b5-5065-4eec-b5aa-e1432189a119:localhost:node-3dff0ec6-5a24-4a5f-bee5-a231f499ec05:Node 3dff0ec6-5a24-4a5f-bee5-a231f499ec05 :: false

2020-11-30 22:04:15 | [Mutex] waiting for: [received:nodes:98aa4952-995e-487d-b852-669970fac41e:localhost]

2020-11-30 22:04:15 | [Mutex] received everything.

2020-11-30 22:04:15 | [Mutex] isItemNotified: received:node:98aa4952-995e-487d-b852-669970fac41e:localhost:node-3dff0ec6-5a24-4a5f-bee5-a231f499ec05:Node 3dff0ec6-5a24-4a5f-bee5-a231f499ec05 :: false

publishItemsToNodes 0.163s
2020-11-30 22:04:12 |

2020-11-30 22:04:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-30 22:04:12 | ------------------------------------

2020-11-30 22:04:12 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-3dff0ec6-5a24-4a5f-bee5-a231f499ec05</node><item-id>item-1ed88757-bb50-49d9-a4d0-656350794b2c</item-id><entry><test>item-1ed88757-bb50-49d9-a4d0-656350794b2c</test></entry></data>

2020-11-30 22:04:12 | from localhost for action publish-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-1ed88757-bb50-49d9-a4d0-656350794b2c</value></item-id></result>

2020-11-30 22:04:12 | [Mutex] waiting for: [published:item:notifieditem-1ed88757-bb50-49d9-a4d0-656350794b2c:admin@test-domain.com]

2020-11-30 22:04:12 | [Mutex] received everything.

2020-11-30 22:04:12 | [Mutex] isItemNotified: published:item:notifieditem-1ed88757-bb50-49d9-a4d0-656350794b2c:admin@test-domain.com :: true

retractItemsFromNodes 0.307s
2020-11-30 22:04:12 |

2020-11-30 22:04:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-30 22:04:12 | ------------------------------------

2020-11-30 22:04:12 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-3dff0ec6-5a24-4a5f-bee5-a231f499ec05</node><item-id>item-1ed88757-bb50-49d9-a4d0-656350794b2c</item-id></data>

2020-11-30 22:04:13 | from localhost for action delete-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-1ed88757-bb50-49d9-a4d0-656350794b2c</value></item-id></result>

2020-11-30 22:04:13 | [Mutex] received everything.

2020-11-30 22:04:13 | [Mutex] isItemNotified: retracted:item:notifieditem-1ed88757-bb50-49d9-a4d0-656350794b2c:admin@test-domain.com :: true

retrieveItemsFromNodes 0.308s
2020-11-30 22:04:12 |

2020-11-30 22:04:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-30 22:04:12 | ------------------------------------

2020-11-30 22:04:12 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-3dff0ec6-5a24-4a5f-bee5-a231f499ec05</node><item-id>item-1ed88757-bb50-49d9-a4d0-656350794b2c</item-id></data>

2020-11-30 22:04:12 | from localhost for action retrieve-item got result code 200 and payload
<result><title>Retrive PubSub node item</title><node label="Node" type="text-single"><value>node-3dff0ec6-5a24-4a5f-bee5-a231f499ec05</value></node><item-id label="Item ID" type="text-single"><value>item-1ed88757-bb50-49d9-a4d0-656350794b2c</value></item-id><item label="Item" type="text-multi"><value><item id="item-1ed88757-bb50-49d9-a4d0-656350794b2c"><test>item-1ed88757-bb50-49d9-a4d0-656350794b2c</test></item></value></item></result>

2020-11-30 22:04:12 | [Mutex] notify: [retrieved:item:item-1ed88757-bb50-49d9-a4d0-656350794b2c:payload-matches:true:localhost]

2020-11-30 22:04:12 | [Mutex] received everything.

2020-11-30 22:04:12 | [Mutex] isItemNotified: retrieved:item:item-1ed88757-bb50-49d9-a4d0-656350794b2c:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.053s
2020-11-30 22:04:12 |

2020-11-30 22:04:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-30 22:04:12 | ------------------------------------

2020-11-30 22:04:12 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2020-11-30 22:04:12 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>test</value><value>node-3dff0ec6-5a24-4a5f-bee5-a231f499ec05</value><value>node-a7a19265-614b-4694-8622-eeed73e63ebc</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2020-11-30 22:04:12 |

2020-11-30 22:04:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-30 22:04:12 | ------------------------------------

2020-11-30 22:04:12 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-3dff0ec6-5a24-4a5f-bee5-a231f499ec05)</node-pattern></data>

2020-11-30 22:04:12 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.138s
2020-11-30 22:04:11 |

2020-11-30 22:04:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-30 22:04:11 | ------------------------------------

2020-11-30 22:04:11 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-3dff0ec6-5a24-4a5f-bee5-a231f499ec05</node><jids><value>admin@test-domain.com</value></jids></data>

2020-11-30 22:04:11 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.295s
2020-11-30 22:04:13 |

2020-11-30 22:04:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-30 22:04:13 | ------------------------------------

2020-11-30 22:04:13 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-3dff0ec6-5a24-4a5f-bee5-a231f499ec05</node><jids><value>admin@test-domain.com</value></jids></data>

2020-11-30 22:04:13 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>