Generated by TestNG with ReportNG at 22:47 PDT on Sunday 09 May 2021
root@b2c2a8eba6e6 / 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.184s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.099s
2021-05-09 23:03:28 |

2021-05-09 23:03:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-09 23:03:28 | ------------------------------------

2021-05-09 23:03:28 | [Mutex] waiting for: [configured:node:node-5ded9f25-672f-4b0d-9204-318aa8cd5e36:node-cb577479-56dd-45bb-9bcb-f7e67ff4c3da]

2021-05-09 23:03:28 | [Mutex] received everything.

2021-05-09 23:03:28 | [Mutex] isItemNotified: configured:node:node-5ded9f25-672f-4b0d-9204-318aa8cd5e36:node-cb577479-56dd-45bb-9bcb-f7e67ff4c3da :: true

2021-05-09 23:03:29 | [Mutex] waiting for: [received:nodes:6fa3d398-bee8-4925-a0a8-6f9994bec1c5:localhost]

2021-05-09 23:03:29 | [Mutex] received everything.

2021-05-09 23:03:29 | [Mutex] isItemNotified: received:node:6fa3d398-bee8-4925-a0a8-6f9994bec1c5:localhost:node-5ded9f25-672f-4b0d-9204-318aa8cd5e36:Node 5ded9f25-672f-4b0d-9204-318aa8cd5e36 :: true

2021-05-09 23:03:29 | [Mutex] waiting for: [received:nodes:176c622d-7846-47df-92e4-16d71ffe2234:localhost]

2021-05-09 23:03:29 | [Mutex] received everything.

2021-05-09 23:03:29 | [Mutex] isItemNotified: received:node:176c622d-7846-47df-92e4-16d71ffe2234:localhost:node-5ded9f25-672f-4b0d-9204-318aa8cd5e36:Node 5ded9f25-672f-4b0d-9204-318aa8cd5e36 :: false

createNodes 1.605s
2021-05-09 23:03:25 |

2021-05-09 23:03:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-09 23:03:25 | ------------------------------------

2021-05-09 23:03:25 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-5ded9f25-672f-4b0d-9204-318aa8cd5e36</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 5ded9f25-672f-4b0d-9204-318aa8cd5e36</title></pubsub></data>

2021-05-09 23:03:26 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-05-09 23:03:27 | [Mutex] waiting for: [received:nodes:5c97d4fb-1e18-4759-b2b8-99ab1ef28e0a:localhost]

2021-05-09 23:03:27 | [Mutex] received everything.

2021-05-09 23:03:27 | [Mutex] isItemNotified: received:node:5c97d4fb-1e18-4759-b2b8-99ab1ef28e0a:localhost:node-5ded9f25-672f-4b0d-9204-318aa8cd5e36:Node 5ded9f25-672f-4b0d-9204-318aa8cd5e36 :: true

createSubnodes 1.026s
2021-05-09 23:03:27 |

2021-05-09 23:03:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-09 23:03:27 | ------------------------------------

2021-05-09 23:03:27 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-cb577479-56dd-45bb-9bcb-f7e67ff4c3da</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node cb577479-56dd-45bb-9bcb-f7e67ff4c3da</title></pubsub></data>

2021-05-09 23:03:27 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-05-09 23:03:28 | [Mutex] waiting for: [received:nodes:9b47fa4b-bfc3-433f-997e-059203b64821:localhost]

2021-05-09 23:03:28 | [Mutex] received everything.

2021-05-09 23:03:28 | [Mutex] isItemNotified: received:node:9b47fa4b-bfc3-433f-997e-059203b64821:localhost:node-cb577479-56dd-45bb-9bcb-f7e67ff4c3da:Node cb577479-56dd-45bb-9bcb-f7e67ff4c3da :: true

deleteNodes 1.017s
2021-05-09 23:03:33 |

2021-05-09 23:03:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-09 23:03:33 | ------------------------------------

2021-05-09 23:03:33 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-cb577479-56dd-45bb-9bcb-f7e67ff4c3da</node></data>

2021-05-09 23:03:33 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-05-09 23:03:34 | [Mutex] waiting for: [received:nodes:dae1ac30-c4ce-4c4b-954d-2e3b812cd4a2:localhost]

2021-05-09 23:03:34 | [Mutex] received everything.

2021-05-09 23:03:34 | [Mutex] isItemNotified: received:node:dae1ac30-c4ce-4c4b-954d-2e3b812cd4a2:localhost:node-cb577479-56dd-45bb-9bcb-f7e67ff4c3da:Node cb577479-56dd-45bb-9bcb-f7e67ff4c3da :: false

deleteSubnodes 1.138s
2021-05-09 23:03:32 |

2021-05-09 23:03:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-09 23:03:32 | ------------------------------------

2021-05-09 23:03:32 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-5ded9f25-672f-4b0d-9204-318aa8cd5e36</node></data>

2021-05-09 23:03:32 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-05-09 23:03:33 | [Mutex] waiting for: [received:nodes:be544ac8-c8a6-42e1-b204-f775a5b9581d:localhost]

2021-05-09 23:03:33 | [Mutex] received everything.

2021-05-09 23:03:33 | [Mutex] isItemNotified: received:node:be544ac8-c8a6-42e1-b204-f775a5b9581d:localhost:node-5ded9f25-672f-4b0d-9204-318aa8cd5e36:Node 5ded9f25-672f-4b0d-9204-318aa8cd5e36 :: false

2021-05-09 23:03:33 | [Mutex] waiting for: [received:nodes:06229b08-da59-49f0-81a2-5a7bb5b00313:localhost]

2021-05-09 23:03:33 | [Mutex] received everything.

2021-05-09 23:03:33 | [Mutex] isItemNotified: received:node:06229b08-da59-49f0-81a2-5a7bb5b00313:localhost:node-5ded9f25-672f-4b0d-9204-318aa8cd5e36:Node 5ded9f25-672f-4b0d-9204-318aa8cd5e36 :: false

publishItemsToNodes 0.258s
2021-05-09 23:03:30 |

2021-05-09 23:03:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-09 23:03:30 | ------------------------------------

2021-05-09 23:03:30 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-5ded9f25-672f-4b0d-9204-318aa8cd5e36</node><item-id>item-9033c9fa-faa1-4782-860d-18c2f3148d32</item-id><entry><test>item-9033c9fa-faa1-4782-860d-18c2f3148d32</test></entry></data>

2021-05-09 23:03:30 | 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-9033c9fa-faa1-4782-860d-18c2f3148d32</value></item-id></result>

2021-05-09 23:03:30 | [Mutex] received everything.

2021-05-09 23:03:30 | [Mutex] isItemNotified: published:item:notifieditem-9033c9fa-faa1-4782-860d-18c2f3148d32:admin@test-domain.com :: true

retractItemsFromNodes 0.271s
2021-05-09 23:03:31 |

2021-05-09 23:03:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-09 23:03:31 | ------------------------------------

2021-05-09 23:03:31 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-5ded9f25-672f-4b0d-9204-318aa8cd5e36</node><item-id>item-9033c9fa-faa1-4782-860d-18c2f3148d32</item-id></data>

2021-05-09 23:03:31 | 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-9033c9fa-faa1-4782-860d-18c2f3148d32</value></item-id></result>

2021-05-09 23:03:31 | [Mutex] received everything.

2021-05-09 23:03:31 | [Mutex] isItemNotified: retracted:item:notifieditem-9033c9fa-faa1-4782-860d-18c2f3148d32:admin@test-domain.com :: true

retrieveItemsFromNodes 0.365s
2021-05-09 23:03:30 |

2021-05-09 23:03:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-09 23:03:30 | ------------------------------------

2021-05-09 23:03:30 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-5ded9f25-672f-4b0d-9204-318aa8cd5e36</node><item-id>item-9033c9fa-faa1-4782-860d-18c2f3148d32</item-id></data>

2021-05-09 23:03:30 | 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-5ded9f25-672f-4b0d-9204-318aa8cd5e36</value></node><item-id type="text-single" label="Item ID"><value>item-9033c9fa-faa1-4782-860d-18c2f3148d32</value></item-id><item type="text-multi" label="Item"><value><item id="item-9033c9fa-faa1-4782-860d-18c2f3148d32"><test>item-9033c9fa-faa1-4782-860d-18c2f3148d32</test></item></value></item></result>

2021-05-09 23:03:30 | [Mutex] notify: [retrieved:item:item-9033c9fa-faa1-4782-860d-18c2f3148d32:payload-matches:true:localhost]

2021-05-09 23:03:30 | [Mutex] received everything.

2021-05-09 23:03:30 | [Mutex] isItemNotified: retrieved:item:item-9033c9fa-faa1-4782-860d-18c2f3148d32:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.066s
2021-05-09 23:03:30 |

2021-05-09 23:03:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-09 23:03:30 | ------------------------------------

2021-05-09 23:03:30 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-05-09 23:03:31 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>test</value><value>node-cb577479-56dd-45bb-9bcb-f7e67ff4c3da</value><value>node-5ded9f25-672f-4b0d-9204-318aa8cd5e36</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.055s
2021-05-09 23:03:31 |

2021-05-09 23:03:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-09 23:03:31 | ------------------------------------

2021-05-09 23:03:31 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-5ded9f25-672f-4b0d-9204-318aa8cd5e36)</node-pattern></data>

2021-05-09 23:03:31 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.155s
2021-05-09 23:03:29 |

2021-05-09 23:03:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-09 23:03:29 | ------------------------------------

2021-05-09 23:03:29 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-5ded9f25-672f-4b0d-9204-318aa8cd5e36</node><jids><value>admin@test-domain.com</value></jids></data>

2021-05-09 23:03:29 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.271s
2021-05-09 23:03:31 |

2021-05-09 23:03:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-09 23:03:31 | ------------------------------------

2021-05-09 23:03:31 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-5ded9f25-672f-4b0d-9204-318aa8cd5e36</node><jids><value>admin@test-domain.com</value></jids></data>

2021-05-09 23:03:31 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>