Generated by TestNG with ReportNG at 22:16 PDT on Wednesday 24 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.462s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.101s
2023-05-24 22:30:43 |

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

2023-05-24 22:30:43 | ------------------------------------

2023-05-24 22:30:43 | [Mutex] waiting for: [configured:node:node-af0087a8-5156-4e1f-b5fa-947001440bd5:node-0fd3a788-e616-4cc1-9ab3-8044086a28bb]

2023-05-24 22:30:43 | [Mutex] received everything.

2023-05-24 22:30:43 | [Mutex] isItemNotified: configured:node:node-af0087a8-5156-4e1f-b5fa-947001440bd5:node-0fd3a788-e616-4cc1-9ab3-8044086a28bb :: true

2023-05-24 22:30:44 | [Mutex] waiting for: [received:nodes:a95563c2-ffe9-44e9-8430-05e732e27698:localhost]

2023-05-24 22:30:44 | [Mutex] received everything.

2023-05-24 22:30:44 | [Mutex] isItemNotified: received:node:a95563c2-ffe9-44e9-8430-05e732e27698:localhost:node-af0087a8-5156-4e1f-b5fa-947001440bd5:Node af0087a8-5156-4e1f-b5fa-947001440bd5 :: true

2023-05-24 22:30:44 | [Mutex] waiting for: [received:nodes:280675f9-d2ce-4b24-8a9c-21dcb8f0d905:localhost]

2023-05-24 22:30:44 | [Mutex] waiting for: [received:nodes:280675f9-d2ce-4b24-8a9c-21dcb8f0d905:localhost]

2023-05-24 22:30:44 | [Mutex] waiting for: [received:nodes:280675f9-d2ce-4b24-8a9c-21dcb8f0d905:localhost]

2023-05-24 22:30:44 | [Mutex] received everything.

2023-05-24 22:30:44 | [Mutex] isItemNotified: received:node:280675f9-d2ce-4b24-8a9c-21dcb8f0d905:localhost:node-af0087a8-5156-4e1f-b5fa-947001440bd5:Node af0087a8-5156-4e1f-b5fa-947001440bd5 :: false

createNodes 1.458s
2023-05-24 22:30:40 |

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

2023-05-24 22:30:40 | ------------------------------------

2023-05-24 22:30:40 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-af0087a8-5156-4e1f-b5fa-947001440bd5</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node af0087a8-5156-4e1f-b5fa-947001440bd5</title></pubsub></data>

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

2023-05-24 22:30:42 | [Mutex] waiting for: [received:nodes:3e8f0e4a-9540-4a22-b533-fdaf0d362d87:localhost]

2023-05-24 22:30:42 | [Mutex] received everything.

2023-05-24 22:30:42 | [Mutex] isItemNotified: received:node:3e8f0e4a-9540-4a22-b533-fdaf0d362d87:localhost:node-af0087a8-5156-4e1f-b5fa-947001440bd5:Node af0087a8-5156-4e1f-b5fa-947001440bd5 :: true

createSubnodes 1.031s
2023-05-24 22:30:42 |

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

2023-05-24 22:30:42 | ------------------------------------

2023-05-24 22:30:42 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-0fd3a788-e616-4cc1-9ab3-8044086a28bb</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 0fd3a788-e616-4cc1-9ab3-8044086a28bb</title></pubsub></data>

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

2023-05-24 22:30:43 | [Mutex] waiting for: [received:nodes:1da1520b-e21d-4458-90c0-76a8a9018e3c:localhost]

2023-05-24 22:30:43 | [Mutex] waiting for: [received:nodes:1da1520b-e21d-4458-90c0-76a8a9018e3c:localhost]

2023-05-24 22:30:43 | [Mutex] waiting for: [received:nodes:1da1520b-e21d-4458-90c0-76a8a9018e3c:localhost]

2023-05-24 22:30:43 | [Mutex] waiting for: [received:nodes:1da1520b-e21d-4458-90c0-76a8a9018e3c:localhost]

2023-05-24 22:30:43 | [Mutex] received everything.

2023-05-24 22:30:43 | [Mutex] isItemNotified: received:node:1da1520b-e21d-4458-90c0-76a8a9018e3c:localhost:node-0fd3a788-e616-4cc1-9ab3-8044086a28bb:Node 0fd3a788-e616-4cc1-9ab3-8044086a28bb :: true

deleteNodes 1.015s
2023-05-24 22:30:48 |

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

2023-05-24 22:30:48 | ------------------------------------

2023-05-24 22:30:48 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-0fd3a788-e616-4cc1-9ab3-8044086a28bb</node></data>

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

2023-05-24 22:30:49 | [Mutex] waiting for: [received:nodes:04de37aa-5378-4f16-9efc-4d514d1bff5d:localhost]

2023-05-24 22:30:49 | [Mutex] waiting for: [received:nodes:04de37aa-5378-4f16-9efc-4d514d1bff5d:localhost]

2023-05-24 22:30:49 | [Mutex] received everything.

2023-05-24 22:30:49 | [Mutex] isItemNotified: received:node:04de37aa-5378-4f16-9efc-4d514d1bff5d:localhost:node-0fd3a788-e616-4cc1-9ab3-8044086a28bb:Node 0fd3a788-e616-4cc1-9ab3-8044086a28bb :: false

deleteSubnodes 1.147s
2023-05-24 22:30:47 |

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

2023-05-24 22:30:47 | ------------------------------------

2023-05-24 22:30:47 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-af0087a8-5156-4e1f-b5fa-947001440bd5</node></data>

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

2023-05-24 22:30:48 | [Mutex] waiting for: [received:nodes:5de90dd1-cda5-4ec6-ac0b-49f575ff5261:localhost]

2023-05-24 22:30:48 | [Mutex] waiting for: [received:nodes:5de90dd1-cda5-4ec6-ac0b-49f575ff5261:localhost]

2023-05-24 22:30:48 | [Mutex] waiting for: [received:nodes:5de90dd1-cda5-4ec6-ac0b-49f575ff5261:localhost]

2023-05-24 22:30:48 | [Mutex] waiting for: [received:nodes:5de90dd1-cda5-4ec6-ac0b-49f575ff5261:localhost]

2023-05-24 22:30:48 | [Mutex] received everything.

2023-05-24 22:30:48 | [Mutex] isItemNotified: received:node:5de90dd1-cda5-4ec6-ac0b-49f575ff5261:localhost:node-af0087a8-5156-4e1f-b5fa-947001440bd5:Node af0087a8-5156-4e1f-b5fa-947001440bd5 :: false

2023-05-24 22:30:48 | [Mutex] waiting for: [received:nodes:57eff0fc-9ade-4105-81bf-2000efd4a371:localhost]

2023-05-24 22:30:48 | [Mutex] received everything.

2023-05-24 22:30:48 | [Mutex] isItemNotified: received:node:57eff0fc-9ade-4105-81bf-2000efd4a371:localhost:node-af0087a8-5156-4e1f-b5fa-947001440bd5:Node af0087a8-5156-4e1f-b5fa-947001440bd5 :: false

publishItemsToNodes 0.207s
2023-05-24 22:30:45 |

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

2023-05-24 22:30:45 | ------------------------------------

2023-05-24 22:30:45 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-af0087a8-5156-4e1f-b5fa-947001440bd5</node><item-id>item-bc9734e4-8ae8-4deb-8b38-e783cfb6653a</item-id><entry><test>item-bc9734e4-8ae8-4deb-8b38-e783cfb6653a</test></entry></data>

2023-05-24 22:30:45 | 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-bc9734e4-8ae8-4deb-8b38-e783cfb6653a</value></item-id></result>

2023-05-24 22:30:45 | [Mutex] received everything.

2023-05-24 22:30:45 | [Mutex] isItemNotified: published:item:notifieditem-bc9734e4-8ae8-4deb-8b38-e783cfb6653a:admin@test-domain.com :: true

retractItemsFromNodes 0.255s
2023-05-24 22:30:45 |

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

2023-05-24 22:30:45 | ------------------------------------

2023-05-24 22:30:45 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-af0087a8-5156-4e1f-b5fa-947001440bd5</node><item-id>item-bc9734e4-8ae8-4deb-8b38-e783cfb6653a</item-id></data>

2023-05-24 22:30:46 | 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-bc9734e4-8ae8-4deb-8b38-e783cfb6653a</value></item-id></result>

2023-05-24 22:30:46 | [Mutex] received everything.

2023-05-24 22:30:46 | [Mutex] isItemNotified: retracted:item:notifieditem-bc9734e4-8ae8-4deb-8b38-e783cfb6653a:admin@test-domain.com :: true

retrieveItemsFromNodes 0.228s
2023-05-24 22:30:45 |

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

2023-05-24 22:30:45 | ------------------------------------

2023-05-24 22:30:45 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-af0087a8-5156-4e1f-b5fa-947001440bd5</node><item-id>item-bc9734e4-8ae8-4deb-8b38-e783cfb6653a</item-id></data>

2023-05-24 22:30:45 | 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-af0087a8-5156-4e1f-b5fa-947001440bd5</value></node><item-id type="text-single" label="Item ID"><value>item-bc9734e4-8ae8-4deb-8b38-e783cfb6653a</value></item-id><item type="text-multi" label="Item"><value><item id="item-bc9734e4-8ae8-4deb-8b38-e783cfb6653a"><test>item-bc9734e4-8ae8-4deb-8b38-e783cfb6653a</test></item></value></item></result>

2023-05-24 22:30:45 | [Mutex] notify: [retrieved:item:item-bc9734e4-8ae8-4deb-8b38-e783cfb6653a:payload-matches:true:localhost]

2023-05-24 22:30:45 | [Mutex] received everything.

2023-05-24 22:30:45 | [Mutex] isItemNotified: retrieved:item:item-bc9734e4-8ae8-4deb-8b38-e783cfb6653a:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2023-05-24 22:30:45 |

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

2023-05-24 22:30:45 | ------------------------------------

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

2023-05-24 22:30:45 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-0fd3a788-e616-4cc1-9ab3-8044086a28bb</value><value>test</value><value>node-af0087a8-5156-4e1f-b5fa-947001440bd5</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2023-05-24 22:30:45 |

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

2023-05-24 22:30:45 | ------------------------------------

2023-05-24 22:30:45 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-af0087a8-5156-4e1f-b5fa-947001440bd5)</node-pattern></data>

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

subscribeNodes 1.140s
2023-05-24 22:30:44 |

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

2023-05-24 22:30:44 | ------------------------------------

2023-05-24 22:30:44 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-af0087a8-5156-4e1f-b5fa-947001440bd5</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.207s
2023-05-24 22:30:46 |

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

2023-05-24 22:30:46 | ------------------------------------

2023-05-24 22:30:46 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-af0087a8-5156-4e1f-b5fa-947001440bd5</node><jids><value>admin@test-domain.com</value></jids></data>

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