Generated by TestNG with ReportNG at 22:23 PDT on Tuesday 24 May 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.591s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.095s
2022-05-24 22:37:29 |

2022-05-24 22:37:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-24 22:37:29 | ------------------------------------

2022-05-24 22:37:29 | [Mutex] waiting for: [configured:node:node-ca93128e-5fe0-40be-a535-cacb325ddcbf:node-7725e9ac-e7af-4c87-b482-ba435ce6fcfc]

2022-05-24 22:37:30 | [Mutex] received everything.

2022-05-24 22:37:30 | [Mutex] isItemNotified: configured:node:node-ca93128e-5fe0-40be-a535-cacb325ddcbf:node-7725e9ac-e7af-4c87-b482-ba435ce6fcfc :: true

2022-05-24 22:37:31 | [Mutex] waiting for: [received:nodes:03f92928-aab3-498f-b8db-36733d7da59a:localhost]

2022-05-24 22:37:31 | [Mutex] received everything.

2022-05-24 22:37:31 | [Mutex] isItemNotified: received:node:03f92928-aab3-498f-b8db-36733d7da59a:localhost:node-ca93128e-5fe0-40be-a535-cacb325ddcbf:Node ca93128e-5fe0-40be-a535-cacb325ddcbf :: true

2022-05-24 22:37:31 | [Mutex] waiting for: [received:nodes:7491e7a6-2229-4e40-97cc-24523159cd53:localhost]

2022-05-24 22:37:31 | [Mutex] waiting for: [received:nodes:7491e7a6-2229-4e40-97cc-24523159cd53:localhost]

2022-05-24 22:37:31 | [Mutex] received everything.

2022-05-24 22:37:31 | [Mutex] isItemNotified: received:node:7491e7a6-2229-4e40-97cc-24523159cd53:localhost:node-ca93128e-5fe0-40be-a535-cacb325ddcbf:Node ca93128e-5fe0-40be-a535-cacb325ddcbf :: false

createNodes 1.426s
2022-05-24 22:37:27 |

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

2022-05-24 22:37:27 | ------------------------------------

2022-05-24 22:37:27 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-ca93128e-5fe0-40be-a535-cacb325ddcbf</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node ca93128e-5fe0-40be-a535-cacb325ddcbf</title></pubsub></data>

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

2022-05-24 22:37:28 | [Mutex] waiting for: [received:nodes:c90f8c86-b7b4-4804-8ca2-b366063b840f:localhost]

2022-05-24 22:37:28 | [Mutex] received everything.

2022-05-24 22:37:28 | [Mutex] isItemNotified: received:node:c90f8c86-b7b4-4804-8ca2-b366063b840f:localhost:node-ca93128e-5fe0-40be-a535-cacb325ddcbf:Node ca93128e-5fe0-40be-a535-cacb325ddcbf :: true

createSubnodes 1.021s
2022-05-24 22:37:28 |

2022-05-24 22:37:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-24 22:37:28 | ------------------------------------

2022-05-24 22:37:28 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-7725e9ac-e7af-4c87-b482-ba435ce6fcfc</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 7725e9ac-e7af-4c87-b482-ba435ce6fcfc</title></pubsub></data>

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

2022-05-24 22:37:29 | [Mutex] waiting for: [received:nodes:41bdfade-eb6c-4033-9054-86853b372337:localhost]

2022-05-24 22:37:29 | [Mutex] received everything.

2022-05-24 22:37:29 | [Mutex] isItemNotified: received:node:41bdfade-eb6c-4033-9054-86853b372337:localhost:node-7725e9ac-e7af-4c87-b482-ba435ce6fcfc:Node 7725e9ac-e7af-4c87-b482-ba435ce6fcfc :: true

deleteNodes 1.016s
2022-05-24 22:37:35 |

2022-05-24 22:37:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-24 22:37:35 | ------------------------------------

2022-05-24 22:37:35 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-7725e9ac-e7af-4c87-b482-ba435ce6fcfc</node></data>

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

2022-05-24 22:37:36 | [Mutex] waiting for: [received:nodes:16d5d638-9a08-4e8f-abdc-c57bdeae1777:localhost]

2022-05-24 22:37:36 | [Mutex] waiting for: [received:nodes:16d5d638-9a08-4e8f-abdc-c57bdeae1777:localhost]

2022-05-24 22:37:36 | [Mutex] received everything.

2022-05-24 22:37:36 | [Mutex] isItemNotified: received:node:16d5d638-9a08-4e8f-abdc-c57bdeae1777:localhost:node-7725e9ac-e7af-4c87-b482-ba435ce6fcfc:Node 7725e9ac-e7af-4c87-b482-ba435ce6fcfc :: false

deleteSubnodes 1.123s
2022-05-24 22:37:34 |

2022-05-24 22:37:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-24 22:37:34 | ------------------------------------

2022-05-24 22:37:34 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-ca93128e-5fe0-40be-a535-cacb325ddcbf</node></data>

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

2022-05-24 22:37:35 | [Mutex] waiting for: [received:nodes:9187b543-5d9c-441d-be87-581fb3414777:localhost]

2022-05-24 22:37:35 | [Mutex] waiting for: [received:nodes:9187b543-5d9c-441d-be87-581fb3414777:localhost]

2022-05-24 22:37:35 | [Mutex] waiting for: [received:nodes:9187b543-5d9c-441d-be87-581fb3414777:localhost]

2022-05-24 22:37:35 | [Mutex] received everything.

2022-05-24 22:37:35 | [Mutex] isItemNotified: received:node:9187b543-5d9c-441d-be87-581fb3414777:localhost:node-ca93128e-5fe0-40be-a535-cacb325ddcbf:Node ca93128e-5fe0-40be-a535-cacb325ddcbf :: false

2022-05-24 22:37:35 | [Mutex] waiting for: [received:nodes:54efbc71-8011-4505-8110-1800e1c1da97:localhost]

2022-05-24 22:37:35 | [Mutex] received everything.

2022-05-24 22:37:35 | [Mutex] isItemNotified: received:node:54efbc71-8011-4505-8110-1800e1c1da97:localhost:node-ca93128e-5fe0-40be-a535-cacb325ddcbf:Node ca93128e-5fe0-40be-a535-cacb325ddcbf :: false

publishItemsToNodes 0.278s
2022-05-24 22:37:32 |

2022-05-24 22:37:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-24 22:37:32 | ------------------------------------

2022-05-24 22:37:32 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-ca93128e-5fe0-40be-a535-cacb325ddcbf</node><item-id>item-9a2aee79-6592-49f7-b15c-e28f60bb03f2</item-id><entry><test>item-9a2aee79-6592-49f7-b15c-e28f60bb03f2</test></entry></data>

2022-05-24 22:37:32 | 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-9a2aee79-6592-49f7-b15c-e28f60bb03f2</value></item-id></result>

2022-05-24 22:37:32 | [Mutex] waiting for: [published:item:notifieditem-9a2aee79-6592-49f7-b15c-e28f60bb03f2:admin@test-domain.com]

2022-05-24 22:37:32 | [Mutex] received everything.

2022-05-24 22:37:32 | [Mutex] isItemNotified: published:item:notifieditem-9a2aee79-6592-49f7-b15c-e28f60bb03f2:admin@test-domain.com :: true

retractItemsFromNodes 0.273s
2022-05-24 22:37:32 |

2022-05-24 22:37:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-24 22:37:32 | ------------------------------------

2022-05-24 22:37:32 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-ca93128e-5fe0-40be-a535-cacb325ddcbf</node><item-id>item-9a2aee79-6592-49f7-b15c-e28f60bb03f2</item-id></data>

2022-05-24 22:37:33 | 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-9a2aee79-6592-49f7-b15c-e28f60bb03f2</value></item-id></result>

2022-05-24 22:37:33 | [Mutex] waiting for: [retracted:item:notifieditem-9a2aee79-6592-49f7-b15c-e28f60bb03f2:admin@test-domain.com]

2022-05-24 22:37:33 | [Mutex] received everything.

2022-05-24 22:37:33 | [Mutex] isItemNotified: retracted:item:notifieditem-9a2aee79-6592-49f7-b15c-e28f60bb03f2:admin@test-domain.com :: true

retrieveItemsFromNodes 0.233s
2022-05-24 22:37:32 |

2022-05-24 22:37:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-24 22:37:32 | ------------------------------------

2022-05-24 22:37:32 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-ca93128e-5fe0-40be-a535-cacb325ddcbf</node><item-id>item-9a2aee79-6592-49f7-b15c-e28f60bb03f2</item-id></data>

2022-05-24 22:37:32 | 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-ca93128e-5fe0-40be-a535-cacb325ddcbf</value></node><item-id label="Item ID" type="text-single"><value>item-9a2aee79-6592-49f7-b15c-e28f60bb03f2</value></item-id><item label="Item" type="text-multi"><value><item id="item-9a2aee79-6592-49f7-b15c-e28f60bb03f2"><test>item-9a2aee79-6592-49f7-b15c-e28f60bb03f2</test></item></value></item></result>

2022-05-24 22:37:32 | [Mutex] notify: [retrieved:item:item-9a2aee79-6592-49f7-b15c-e28f60bb03f2:payload-matches:true:localhost]

2022-05-24 22:37:32 | [Mutex] received everything.

2022-05-24 22:37:32 | [Mutex] isItemNotified: retrieved:item:item-9a2aee79-6592-49f7-b15c-e28f60bb03f2:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.054s
2022-05-24 22:37:32 |

2022-05-24 22:37:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-24 22:37:32 | ------------------------------------

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

2022-05-24 22:37:32 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-ca93128e-5fe0-40be-a535-cacb325ddcbf</value><value>test</value><value>node-7725e9ac-e7af-4c87-b482-ba435ce6fcfc</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-05-24 22:37:32 |

2022-05-24 22:37:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-24 22:37:32 | ------------------------------------

2022-05-24 22:37:32 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-ca93128e-5fe0-40be-a535-cacb325ddcbf)</node-pattern></data>

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

subscribeNodes 1.105s
2022-05-24 22:37:31 |

2022-05-24 22:37:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-24 22:37:31 | ------------------------------------

2022-05-24 22:37:31 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-ca93128e-5fe0-40be-a535-cacb325ddcbf</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.221s
2022-05-24 22:37:33 |

2022-05-24 22:37:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-24 22:37:33 | ------------------------------------

2022-05-24 22:37:33 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-ca93128e-5fe0-40be-a535-cacb325ddcbf</node><jids><value>admin@test-domain.com</value></jids></data>

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