Generated by TestNG with ReportNG at 22:16 PDT on Monday 29 May 2023
root@1512af24e4a5 / Java 17.0.6 (Private Build) / Linux 4.14.281-212.502.amzn2.x86_64 (amd64)

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

Suites · Log Output

Test duration : 9.409s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.090s
2023-05-29 22:30:32 |

2023-05-29 22:30:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-05-29 22:30:32 | ------------------------------------

2023-05-29 22:30:32 | [Mutex] waiting for: [configured:node:node-1ccb84fb-1a57-4d7c-86f0-35d63e502fca:node-c104275b-0d61-4496-a939-9389d3a48a21]

2023-05-29 22:30:32 | [Mutex] received everything.

2023-05-29 22:30:32 | [Mutex] isItemNotified: configured:node:node-1ccb84fb-1a57-4d7c-86f0-35d63e502fca:node-c104275b-0d61-4496-a939-9389d3a48a21 :: true

2023-05-29 22:30:33 | [Mutex] waiting for: [received:nodes:654a71d2-b7e4-4a58-b949-dd8b8b21a6c5:localhost]

2023-05-29 22:30:33 | [Mutex] received everything.

2023-05-29 22:30:33 | [Mutex] isItemNotified: received:node:654a71d2-b7e4-4a58-b949-dd8b8b21a6c5:localhost:node-1ccb84fb-1a57-4d7c-86f0-35d63e502fca:Node 1ccb84fb-1a57-4d7c-86f0-35d63e502fca :: true

2023-05-29 22:30:33 | [Mutex] waiting for: [received:nodes:dee4ad88-a589-4594-bcbd-68eda807549c:localhost]

2023-05-29 22:30:33 | [Mutex] waiting for: [received:nodes:dee4ad88-a589-4594-bcbd-68eda807549c:localhost]

2023-05-29 22:30:33 | [Mutex] waiting for: [received:nodes:dee4ad88-a589-4594-bcbd-68eda807549c:localhost]

2023-05-29 22:30:33 | [Mutex] received everything.

2023-05-29 22:30:33 | [Mutex] isItemNotified: received:node:dee4ad88-a589-4594-bcbd-68eda807549c:localhost:node-1ccb84fb-1a57-4d7c-86f0-35d63e502fca:Node 1ccb84fb-1a57-4d7c-86f0-35d63e502fca :: false

createNodes 1.467s
2023-05-29 22:30:30 |

2023-05-29 22:30:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-05-29 22:30:30 | ------------------------------------

2023-05-29 22:30:30 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-1ccb84fb-1a57-4d7c-86f0-35d63e502fca</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 1ccb84fb-1a57-4d7c-86f0-35d63e502fca</title></pubsub></data>

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

2023-05-29 22:30:31 | [Mutex] waiting for: [received:nodes:69b811d0-ab54-47b1-b2cc-6e902a9f965c:localhost]

2023-05-29 22:30:31 | [Mutex] waiting for: [received:nodes:69b811d0-ab54-47b1-b2cc-6e902a9f965c:localhost]

2023-05-29 22:30:31 | [Mutex] waiting for: [received:nodes:69b811d0-ab54-47b1-b2cc-6e902a9f965c:localhost]

2023-05-29 22:30:31 | [Mutex] received everything.

2023-05-29 22:30:31 | [Mutex] isItemNotified: received:node:69b811d0-ab54-47b1-b2cc-6e902a9f965c:localhost:node-1ccb84fb-1a57-4d7c-86f0-35d63e502fca:Node 1ccb84fb-1a57-4d7c-86f0-35d63e502fca :: true

createSubnodes 1.038s
2023-05-29 22:30:31 |

2023-05-29 22:30:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-05-29 22:30:31 | ------------------------------------

2023-05-29 22:30:31 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-c104275b-0d61-4496-a939-9389d3a48a21</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node c104275b-0d61-4496-a939-9389d3a48a21</title></pubsub></data>

2023-05-29 22:30:31 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-05-29 22:30:32 | [Mutex] waiting for: [received:nodes:a4fddd6b-64a2-4d04-883a-bcb58ee7c0c7:localhost]

2023-05-29 22:30:32 | [Mutex] received everything.

2023-05-29 22:30:32 | [Mutex] isItemNotified: received:node:a4fddd6b-64a2-4d04-883a-bcb58ee7c0c7:localhost:node-c104275b-0d61-4496-a939-9389d3a48a21:Node c104275b-0d61-4496-a939-9389d3a48a21 :: true

deleteNodes 1.015s
2023-05-29 22:30:38 |

2023-05-29 22:30:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-05-29 22:30:38 | ------------------------------------

2023-05-29 22:30:38 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-c104275b-0d61-4496-a939-9389d3a48a21</node></data>

2023-05-29 22:30:38 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-05-29 22:30:39 | [Mutex] waiting for: [received:nodes:a8f6ad09-a84f-42db-9af1-59db62f847f4:localhost]

2023-05-29 22:30:39 | [Mutex] waiting for: [received:nodes:a8f6ad09-a84f-42db-9af1-59db62f847f4:localhost]

2023-05-29 22:30:39 | [Mutex] waiting for: [received:nodes:a8f6ad09-a84f-42db-9af1-59db62f847f4:localhost]

2023-05-29 22:30:39 | [Mutex] received everything.

2023-05-29 22:30:39 | [Mutex] isItemNotified: received:node:a8f6ad09-a84f-42db-9af1-59db62f847f4:localhost:node-c104275b-0d61-4496-a939-9389d3a48a21:Node c104275b-0d61-4496-a939-9389d3a48a21 :: false

deleteSubnodes 1.105s
2023-05-29 22:30:37 |

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

2023-05-29 22:30:37 | ------------------------------------

2023-05-29 22:30:37 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-1ccb84fb-1a57-4d7c-86f0-35d63e502fca</node></data>

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

2023-05-29 22:30:38 | [Mutex] waiting for: [received:nodes:5725767e-0eed-4a94-b483-51f00f6e4d74:localhost]

2023-05-29 22:30:38 | [Mutex] waiting for: [received:nodes:5725767e-0eed-4a94-b483-51f00f6e4d74:localhost]

2023-05-29 22:30:38 | [Mutex] waiting for: [received:nodes:5725767e-0eed-4a94-b483-51f00f6e4d74:localhost]

2023-05-29 22:30:38 | [Mutex] received everything.

2023-05-29 22:30:38 | [Mutex] isItemNotified: received:node:5725767e-0eed-4a94-b483-51f00f6e4d74:localhost:node-1ccb84fb-1a57-4d7c-86f0-35d63e502fca:Node 1ccb84fb-1a57-4d7c-86f0-35d63e502fca :: false

2023-05-29 22:30:38 | [Mutex] waiting for: [received:nodes:82bfc866-eaa3-4ac3-a2a5-a791aa2b3487:localhost]

2023-05-29 22:30:38 | [Mutex] received everything.

2023-05-29 22:30:38 | [Mutex] isItemNotified: received:node:82bfc866-eaa3-4ac3-a2a5-a791aa2b3487:localhost:node-1ccb84fb-1a57-4d7c-86f0-35d63e502fca:Node 1ccb84fb-1a57-4d7c-86f0-35d63e502fca :: false

publishItemsToNodes 0.193s
2023-05-29 22:30:34 |

2023-05-29 22:30:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-05-29 22:30:34 | ------------------------------------

2023-05-29 22:30:34 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-1ccb84fb-1a57-4d7c-86f0-35d63e502fca</node><item-id>item-d9b184af-2036-4f7d-9119-844a7c6e0d28</item-id><entry><test>item-d9b184af-2036-4f7d-9119-844a7c6e0d28</test></entry></data>

2023-05-29 22:30:35 | 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-d9b184af-2036-4f7d-9119-844a7c6e0d28</value></item-id></result>

2023-05-29 22:30:35 | [Mutex] waiting for: [published:item:notifieditem-d9b184af-2036-4f7d-9119-844a7c6e0d28:admin@test-domain.com]

2023-05-29 22:30:35 | [Mutex] received everything.

2023-05-29 22:30:35 | [Mutex] isItemNotified: published:item:notifieditem-d9b184af-2036-4f7d-9119-844a7c6e0d28:admin@test-domain.com :: true

retractItemsFromNodes 0.240s
2023-05-29 22:30:35 |

2023-05-29 22:30:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-05-29 22:30:35 | ------------------------------------

2023-05-29 22:30:35 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-1ccb84fb-1a57-4d7c-86f0-35d63e502fca</node><item-id>item-d9b184af-2036-4f7d-9119-844a7c6e0d28</item-id></data>

2023-05-29 22:30:35 | 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-d9b184af-2036-4f7d-9119-844a7c6e0d28</value></item-id></result>

2023-05-29 22:30:35 | [Mutex] received everything.

2023-05-29 22:30:35 | [Mutex] isItemNotified: retracted:item:notifieditem-d9b184af-2036-4f7d-9119-844a7c6e0d28:admin@test-domain.com :: true

retrieveItemsFromNodes 0.285s
2023-05-29 22:30:35 |

2023-05-29 22:30:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-05-29 22:30:35 | ------------------------------------

2023-05-29 22:30:35 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-1ccb84fb-1a57-4d7c-86f0-35d63e502fca</node><item-id>item-d9b184af-2036-4f7d-9119-844a7c6e0d28</item-id></data>

2023-05-29 22:30:35 | 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-1ccb84fb-1a57-4d7c-86f0-35d63e502fca</value></node><item-id type="text-single" label="Item ID"><value>item-d9b184af-2036-4f7d-9119-844a7c6e0d28</value></item-id><item type="text-multi" label="Item"><value><item id="item-d9b184af-2036-4f7d-9119-844a7c6e0d28"><test>item-d9b184af-2036-4f7d-9119-844a7c6e0d28</test></item></value></item></result>

2023-05-29 22:30:35 | [Mutex] notify: [retrieved:item:item-d9b184af-2036-4f7d-9119-844a7c6e0d28:payload-matches:true:localhost]

2023-05-29 22:30:35 | [Mutex] received everything.

2023-05-29 22:30:35 | [Mutex] isItemNotified: retrieved:item:item-d9b184af-2036-4f7d-9119-844a7c6e0d28:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.051s
2023-05-29 22:30:35 |

2023-05-29 22:30:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-05-29 22:30:35 | ------------------------------------

2023-05-29 22:30:35 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2023-05-29 22:30:35 | 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-1ccb84fb-1a57-4d7c-86f0-35d63e502fca</value><value>node-c104275b-0d61-4496-a939-9389d3a48a21</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2023-05-29 22:30:35 |

2023-05-29 22:30:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-05-29 22:30:35 | ------------------------------------

2023-05-29 22:30:35 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-1ccb84fb-1a57-4d7c-86f0-35d63e502fca)</node-pattern></data>

2023-05-29 22:30:35 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.114s
2023-05-29 22:30:33 |

2023-05-29 22:30:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-05-29 22:30:33 | ------------------------------------

2023-05-29 22:30:33 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-1ccb84fb-1a57-4d7c-86f0-35d63e502fca</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.191s
2023-05-29 22:30:35 |

2023-05-29 22:30:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-05-29 22:30:35 | ------------------------------------

2023-05-29 22:30:35 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-1ccb84fb-1a57-4d7c-86f0-35d63e502fca</node><jids><value>admin@test-domain.com</value></jids></data>

2023-05-29 22:30:36 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>