Generated by TestNG with ReportNG at 21:49 PST on Monday 16 January 2023
root@f9c07ffec79b / Java 17.0.2 (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.599s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.092s
2023-01-16 22:05:05 |

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

2023-01-16 22:05:05 | ------------------------------------

2023-01-16 22:05:05 | [Mutex] waiting for: [configured:node:node-571bf3fa-ce5e-43c2-9728-127921c707c1:node-2b8898c4-b39d-48ae-91e7-cb501d2154d9]

2023-01-16 22:05:05 | [Mutex] received everything.

2023-01-16 22:05:05 | [Mutex] isItemNotified: configured:node:node-571bf3fa-ce5e-43c2-9728-127921c707c1:node-2b8898c4-b39d-48ae-91e7-cb501d2154d9 :: true

2023-01-16 22:05:06 | [Mutex] waiting for: [received:nodes:13af6c51-ac91-4519-8c4b-ba96d41ee4a1:localhost]

2023-01-16 22:05:06 | [Mutex] received everything.

2023-01-16 22:05:06 | [Mutex] isItemNotified: received:node:13af6c51-ac91-4519-8c4b-ba96d41ee4a1:localhost:node-571bf3fa-ce5e-43c2-9728-127921c707c1:Node 571bf3fa-ce5e-43c2-9728-127921c707c1 :: true

2023-01-16 22:05:06 | [Mutex] waiting for: [received:nodes:eb002795-ee0a-48dc-bfb3-71676522e31c:localhost]

2023-01-16 22:05:06 | [Mutex] waiting for: [received:nodes:eb002795-ee0a-48dc-bfb3-71676522e31c:localhost]

2023-01-16 22:05:06 | [Mutex] waiting for: [received:nodes:eb002795-ee0a-48dc-bfb3-71676522e31c:localhost]

2023-01-16 22:05:06 | [Mutex] waiting for: [received:nodes:eb002795-ee0a-48dc-bfb3-71676522e31c:localhost]

2023-01-16 22:05:06 | [Mutex] received everything.

2023-01-16 22:05:06 | [Mutex] isItemNotified: received:node:eb002795-ee0a-48dc-bfb3-71676522e31c:localhost:node-571bf3fa-ce5e-43c2-9728-127921c707c1:Node 571bf3fa-ce5e-43c2-9728-127921c707c1 :: false

createNodes 1.401s
2023-01-16 22:05:02 |

2023-01-16 22:05:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-01-16 22:05:02 | ------------------------------------

2023-01-16 22:05:02 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-571bf3fa-ce5e-43c2-9728-127921c707c1</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 571bf3fa-ce5e-43c2-9728-127921c707c1</title></pubsub></data>

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

2023-01-16 22:05:04 | [Mutex] waiting for: [received:nodes:5697189b-d08b-42f8-8745-1f531d750936:localhost]

2023-01-16 22:05:04 | [Mutex] waiting for: [received:nodes:5697189b-d08b-42f8-8745-1f531d750936:localhost]

2023-01-16 22:05:04 | [Mutex] received everything.

2023-01-16 22:05:04 | [Mutex] isItemNotified: received:node:5697189b-d08b-42f8-8745-1f531d750936:localhost:node-571bf3fa-ce5e-43c2-9728-127921c707c1:Node 571bf3fa-ce5e-43c2-9728-127921c707c1 :: true

createSubnodes 1.025s
2023-01-16 22:05:04 |

2023-01-16 22:05:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-01-16 22:05:04 | ------------------------------------

2023-01-16 22:05:04 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-2b8898c4-b39d-48ae-91e7-cb501d2154d9</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 2b8898c4-b39d-48ae-91e7-cb501d2154d9</title></pubsub></data>

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

2023-01-16 22:05:05 | [Mutex] waiting for: [received:nodes:e5d3bb10-ee6b-4ba5-999d-6fa009f6508e:localhost]

2023-01-16 22:05:05 | [Mutex] waiting for: [received:nodes:e5d3bb10-ee6b-4ba5-999d-6fa009f6508e:localhost]

2023-01-16 22:05:05 | [Mutex] waiting for: [received:nodes:e5d3bb10-ee6b-4ba5-999d-6fa009f6508e:localhost]

2023-01-16 22:05:05 | [Mutex] received everything.

2023-01-16 22:05:05 | [Mutex] isItemNotified: received:node:e5d3bb10-ee6b-4ba5-999d-6fa009f6508e:localhost:node-2b8898c4-b39d-48ae-91e7-cb501d2154d9:Node 2b8898c4-b39d-48ae-91e7-cb501d2154d9 :: true

deleteNodes 1.016s
2023-01-16 22:05:10 |

2023-01-16 22:05:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-01-16 22:05:10 | ------------------------------------

2023-01-16 22:05:10 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-2b8898c4-b39d-48ae-91e7-cb501d2154d9</node></data>

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

2023-01-16 22:05:11 | [Mutex] waiting for: [received:nodes:333ba9f6-fd67-4bf4-8972-71009b64edbb:localhost]

2023-01-16 22:05:11 | [Mutex] waiting for: [received:nodes:333ba9f6-fd67-4bf4-8972-71009b64edbb:localhost]

2023-01-16 22:05:11 | [Mutex] waiting for: [received:nodes:333ba9f6-fd67-4bf4-8972-71009b64edbb:localhost]

2023-01-16 22:05:11 | [Mutex] received everything.

2023-01-16 22:05:11 | [Mutex] isItemNotified: received:node:333ba9f6-fd67-4bf4-8972-71009b64edbb:localhost:node-2b8898c4-b39d-48ae-91e7-cb501d2154d9:Node 2b8898c4-b39d-48ae-91e7-cb501d2154d9 :: false

deleteSubnodes 1.142s
2023-01-16 22:05:09 |

2023-01-16 22:05:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-01-16 22:05:09 | ------------------------------------

2023-01-16 22:05:09 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-571bf3fa-ce5e-43c2-9728-127921c707c1</node></data>

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

2023-01-16 22:05:10 | [Mutex] waiting for: [received:nodes:3b823617-0993-4684-bf0a-2482198fdd0a:localhost]

2023-01-16 22:05:10 | [Mutex] waiting for: [received:nodes:3b823617-0993-4684-bf0a-2482198fdd0a:localhost]

2023-01-16 22:05:10 | [Mutex] waiting for: [received:nodes:3b823617-0993-4684-bf0a-2482198fdd0a:localhost]

2023-01-16 22:05:10 | [Mutex] waiting for: [received:nodes:3b823617-0993-4684-bf0a-2482198fdd0a:localhost]

2023-01-16 22:05:10 | [Mutex] received everything.

2023-01-16 22:05:10 | [Mutex] isItemNotified: received:node:3b823617-0993-4684-bf0a-2482198fdd0a:localhost:node-571bf3fa-ce5e-43c2-9728-127921c707c1:Node 571bf3fa-ce5e-43c2-9728-127921c707c1 :: false

2023-01-16 22:05:10 | [Mutex] waiting for: [received:nodes:d59b2b88-cf77-4bba-862b-babf4dad21f2:localhost]

2023-01-16 22:05:10 | [Mutex] received everything.

2023-01-16 22:05:10 | [Mutex] isItemNotified: received:node:d59b2b88-cf77-4bba-862b-babf4dad21f2:localhost:node-571bf3fa-ce5e-43c2-9728-127921c707c1:Node 571bf3fa-ce5e-43c2-9728-127921c707c1 :: false

publishItemsToNodes 0.282s
2023-01-16 22:05:07 |

2023-01-16 22:05:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-01-16 22:05:07 | ------------------------------------

2023-01-16 22:05:07 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-571bf3fa-ce5e-43c2-9728-127921c707c1</node><item-id>item-b44f288a-5c3e-41a1-9db5-bc206d38638f</item-id><entry><test>item-b44f288a-5c3e-41a1-9db5-bc206d38638f</test></entry></data>

2023-01-16 22:05:07 | 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-b44f288a-5c3e-41a1-9db5-bc206d38638f</value></item-id></result>

2023-01-16 22:05:07 | [Mutex] received everything.

2023-01-16 22:05:07 | [Mutex] isItemNotified: published:item:notifieditem-b44f288a-5c3e-41a1-9db5-bc206d38638f:admin@test-domain.com :: true

retractItemsFromNodes 0.300s
2023-01-16 22:05:08 |

2023-01-16 22:05:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-01-16 22:05:08 | ------------------------------------

2023-01-16 22:05:08 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-571bf3fa-ce5e-43c2-9728-127921c707c1</node><item-id>item-b44f288a-5c3e-41a1-9db5-bc206d38638f</item-id></data>

2023-01-16 22:05:08 | 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-b44f288a-5c3e-41a1-9db5-bc206d38638f</value></item-id></result>

2023-01-16 22:05:08 | [Mutex] received everything.

2023-01-16 22:05:08 | [Mutex] isItemNotified: retracted:item:notifieditem-b44f288a-5c3e-41a1-9db5-bc206d38638f:admin@test-domain.com :: true

retrieveItemsFromNodes 0.271s
2023-01-16 22:05:07 |

2023-01-16 22:05:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-01-16 22:05:07 | ------------------------------------

2023-01-16 22:05:07 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-571bf3fa-ce5e-43c2-9728-127921c707c1</node><item-id>item-b44f288a-5c3e-41a1-9db5-bc206d38638f</item-id></data>

2023-01-16 22:05:07 | 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-571bf3fa-ce5e-43c2-9728-127921c707c1</value></node><item-id label="Item ID" type="text-single"><value>item-b44f288a-5c3e-41a1-9db5-bc206d38638f</value></item-id><item label="Item" type="text-multi"><value><item id="item-b44f288a-5c3e-41a1-9db5-bc206d38638f"><test>item-b44f288a-5c3e-41a1-9db5-bc206d38638f</test></item></value></item></result>

2023-01-16 22:05:07 | [Mutex] notify: [retrieved:item:item-b44f288a-5c3e-41a1-9db5-bc206d38638f:payload-matches:true:localhost]

2023-01-16 22:05:07 | [Mutex] received everything.

2023-01-16 22:05:07 | [Mutex] isItemNotified: retrieved:item:item-b44f288a-5c3e-41a1-9db5-bc206d38638f:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2023-01-16 22:05:07 |

2023-01-16 22:05:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-01-16 22:05:07 | ------------------------------------

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

2023-01-16 22:05:08 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>test</value><value>node-571bf3fa-ce5e-43c2-9728-127921c707c1</value><value>node-2b8898c4-b39d-48ae-91e7-cb501d2154d9</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2023-01-16 22:05:08 |

2023-01-16 22:05:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-01-16 22:05:08 | ------------------------------------

2023-01-16 22:05:08 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-571bf3fa-ce5e-43c2-9728-127921c707c1)</node-pattern></data>

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

subscribeNodes 1.143s
2023-01-16 22:05:06 |

2023-01-16 22:05:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-01-16 22:05:06 | ------------------------------------

2023-01-16 22:05:06 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-571bf3fa-ce5e-43c2-9728-127921c707c1</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.183s
2023-01-16 22:05:08 |

2023-01-16 22:05:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-01-16 22:05:08 | ------------------------------------

2023-01-16 22:05:08 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-571bf3fa-ce5e-43c2-9728-127921c707c1</node><jids><value>admin@test-domain.com</value></jids></data>

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