Generated by TestNG with ReportNG at 22:33 PDT on Thursday 24 March 2022
root@21fb2cc9076b / Java 17.0.2 (Private Build) / 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.612s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.111s
2022-03-24 22:46:22 |

2022-03-24 22:46:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-03-24 22:46:22 | ------------------------------------

2022-03-24 22:46:22 | [Mutex] waiting for: [configured:node:node-3cb0815f-470e-4abc-b93c-27b5660b2448:node-43d08f4f-962d-4600-a9b2-418d3e087b3f]

2022-03-24 22:46:22 | [Mutex] received everything.

2022-03-24 22:46:22 | [Mutex] isItemNotified: configured:node:node-3cb0815f-470e-4abc-b93c-27b5660b2448:node-43d08f4f-962d-4600-a9b2-418d3e087b3f :: true

2022-03-24 22:46:23 | [Mutex] waiting for: [received:nodes:03800c0a-3b71-4a4e-8cb9-5360cbd0b2f0:localhost]

2022-03-24 22:46:23 | [Mutex] received everything.

2022-03-24 22:46:23 | [Mutex] isItemNotified: received:node:03800c0a-3b71-4a4e-8cb9-5360cbd0b2f0:localhost:node-3cb0815f-470e-4abc-b93c-27b5660b2448:Node 3cb0815f-470e-4abc-b93c-27b5660b2448 :: true

2022-03-24 22:46:23 | [Mutex] waiting for: [received:nodes:05b09a77-85a6-42df-8cef-6803bb722317:localhost]

2022-03-24 22:46:23 | [Mutex] received everything.

2022-03-24 22:46:23 | [Mutex] isItemNotified: received:node:05b09a77-85a6-42df-8cef-6803bb722317:localhost:node-3cb0815f-470e-4abc-b93c-27b5660b2448:Node 3cb0815f-470e-4abc-b93c-27b5660b2448 :: false

createNodes 1.480s
2022-03-24 22:46:19 |

2022-03-24 22:46:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-03-24 22:46:19 | ------------------------------------

2022-03-24 22:46:19 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-3cb0815f-470e-4abc-b93c-27b5660b2448</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 3cb0815f-470e-4abc-b93c-27b5660b2448</title></pubsub></data>

2022-03-24 22:46:20 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-03-24 22:46:21 | [Mutex] waiting for: [received:nodes:ebe813c4-7151-47db-9bf0-adaf237f9040:localhost]

2022-03-24 22:46:21 | [Mutex] received everything.

2022-03-24 22:46:21 | [Mutex] isItemNotified: received:node:ebe813c4-7151-47db-9bf0-adaf237f9040:localhost:node-3cb0815f-470e-4abc-b93c-27b5660b2448:Node 3cb0815f-470e-4abc-b93c-27b5660b2448 :: true

createSubnodes 1.026s
2022-03-24 22:46:21 |

2022-03-24 22:46:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-03-24 22:46:21 | ------------------------------------

2022-03-24 22:46:21 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-43d08f4f-962d-4600-a9b2-418d3e087b3f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 43d08f4f-962d-4600-a9b2-418d3e087b3f</title></pubsub></data>

2022-03-24 22:46:21 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-03-24 22:46:22 | [Mutex] waiting for: [received:nodes:cf5a844d-b4d0-4f3e-a18c-845c0040ef45:localhost]

2022-03-24 22:46:22 | [Mutex] received everything.

2022-03-24 22:46:22 | [Mutex] isItemNotified: received:node:cf5a844d-b4d0-4f3e-a18c-845c0040ef45:localhost:node-43d08f4f-962d-4600-a9b2-418d3e087b3f:Node 43d08f4f-962d-4600-a9b2-418d3e087b3f :: true

deleteNodes 1.018s
2022-03-24 22:46:27 |

2022-03-24 22:46:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-03-24 22:46:27 | ------------------------------------

2022-03-24 22:46:27 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-43d08f4f-962d-4600-a9b2-418d3e087b3f</node></data>

2022-03-24 22:46:27 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-03-24 22:46:28 | [Mutex] waiting for: [received:nodes:b0df38c9-cfe1-425b-a4ee-33936c7ac2e5:localhost]

2022-03-24 22:46:28 | [Mutex] received everything.

2022-03-24 22:46:28 | [Mutex] isItemNotified: received:node:b0df38c9-cfe1-425b-a4ee-33936c7ac2e5:localhost:node-43d08f4f-962d-4600-a9b2-418d3e087b3f:Node 43d08f4f-962d-4600-a9b2-418d3e087b3f :: false

deleteSubnodes 1.133s
2022-03-24 22:46:26 |

2022-03-24 22:46:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-03-24 22:46:26 | ------------------------------------

2022-03-24 22:46:26 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-3cb0815f-470e-4abc-b93c-27b5660b2448</node></data>

2022-03-24 22:46:26 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-03-24 22:46:27 | [Mutex] waiting for: [received:nodes:9bbccd41-4819-467f-9a1b-9ed442f659e8:localhost]

2022-03-24 22:46:27 | [Mutex] waiting for: [received:nodes:9bbccd41-4819-467f-9a1b-9ed442f659e8:localhost]

2022-03-24 22:46:27 | [Mutex] waiting for: [received:nodes:9bbccd41-4819-467f-9a1b-9ed442f659e8:localhost]

2022-03-24 22:46:27 | [Mutex] received everything.

2022-03-24 22:46:27 | [Mutex] isItemNotified: received:node:9bbccd41-4819-467f-9a1b-9ed442f659e8:localhost:node-3cb0815f-470e-4abc-b93c-27b5660b2448:Node 3cb0815f-470e-4abc-b93c-27b5660b2448 :: false

2022-03-24 22:46:27 | [Mutex] waiting for: [received:nodes:e9b6b3ce-3fbe-4a58-b4de-27cc85d4e24a:localhost]

2022-03-24 22:46:27 | [Mutex] received everything.

2022-03-24 22:46:27 | [Mutex] isItemNotified: received:node:e9b6b3ce-3fbe-4a58-b4de-27cc85d4e24a:localhost:node-3cb0815f-470e-4abc-b93c-27b5660b2448:Node 3cb0815f-470e-4abc-b93c-27b5660b2448 :: false

publishItemsToNodes 0.276s
2022-03-24 22:46:24 |

2022-03-24 22:46:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-03-24 22:46:24 | ------------------------------------

2022-03-24 22:46:24 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-3cb0815f-470e-4abc-b93c-27b5660b2448</node><item-id>item-e18a615b-3568-4057-bfa6-066e4097342b</item-id><entry><test>item-e18a615b-3568-4057-bfa6-066e4097342b</test></entry></data>

2022-03-24 22:46:24 | 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-e18a615b-3568-4057-bfa6-066e4097342b</value></item-id></result>

2022-03-24 22:46:24 | [Mutex] waiting for: [published:item:notifieditem-e18a615b-3568-4057-bfa6-066e4097342b:admin@test-domain.com]

2022-03-24 22:46:24 | [Mutex] received everything.

2022-03-24 22:46:24 | [Mutex] isItemNotified: published:item:notifieditem-e18a615b-3568-4057-bfa6-066e4097342b:admin@test-domain.com :: true

retractItemsFromNodes 0.315s
2022-03-24 22:46:25 |

2022-03-24 22:46:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-03-24 22:46:25 | ------------------------------------

2022-03-24 22:46:25 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-3cb0815f-470e-4abc-b93c-27b5660b2448</node><item-id>item-e18a615b-3568-4057-bfa6-066e4097342b</item-id></data>

2022-03-24 22:46:25 | 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-e18a615b-3568-4057-bfa6-066e4097342b</value></item-id></result>

2022-03-24 22:46:25 | [Mutex] received everything.

2022-03-24 22:46:25 | [Mutex] isItemNotified: retracted:item:notifieditem-e18a615b-3568-4057-bfa6-066e4097342b:admin@test-domain.com :: true

retrieveItemsFromNodes 0.199s
2022-03-24 22:46:24 |

2022-03-24 22:46:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-03-24 22:46:24 | ------------------------------------

2022-03-24 22:46:24 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-3cb0815f-470e-4abc-b93c-27b5660b2448</node><item-id>item-e18a615b-3568-4057-bfa6-066e4097342b</item-id></data>

2022-03-24 22:46:25 | 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-3cb0815f-470e-4abc-b93c-27b5660b2448</value></node><item-id label="Item ID" type="text-single"><value>item-e18a615b-3568-4057-bfa6-066e4097342b</value></item-id><item label="Item" type="text-multi"><value><item id="item-e18a615b-3568-4057-bfa6-066e4097342b"><test>item-e18a615b-3568-4057-bfa6-066e4097342b</test></item></value></item></result>

2022-03-24 22:46:25 | [Mutex] notify: [retrieved:item:item-e18a615b-3568-4057-bfa6-066e4097342b:payload-matches:true:localhost]

2022-03-24 22:46:25 | [Mutex] received everything.

2022-03-24 22:46:25 | [Mutex] isItemNotified: retrieved:item:item-e18a615b-3568-4057-bfa6-066e4097342b:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.048s
2022-03-24 22:46:25 |

2022-03-24 22:46:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-03-24 22:46:25 | ------------------------------------

2022-03-24 22:46:25 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-03-24 22:46:25 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-43d08f4f-962d-4600-a9b2-418d3e087b3f</value><value>test</value><value>node-3cb0815f-470e-4abc-b93c-27b5660b2448</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-03-24 22:46:25 |

2022-03-24 22:46:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-03-24 22:46:25 | ------------------------------------

2022-03-24 22:46:25 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-3cb0815f-470e-4abc-b93c-27b5660b2448)</node-pattern></data>

2022-03-24 22:46:25 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.117s
2022-03-24 22:46:23 |

2022-03-24 22:46:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-03-24 22:46:23 | ------------------------------------

2022-03-24 22:46:23 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-3cb0815f-470e-4abc-b93c-27b5660b2448</node><jids><value>admin@test-domain.com</value></jids></data>

2022-03-24 22:46:23 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.115s
2022-03-24 22:46:25 |

2022-03-24 22:46:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-03-24 22:46:25 | ------------------------------------

2022-03-24 22:46:25 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-3cb0815f-470e-4abc-b93c-27b5660b2448</node><jids><value>admin@test-domain.com</value></jids></data>

2022-03-24 22:46:25 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>