Generated by TestNG with ReportNG at 21:15 PST on Monday 27 February 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.347s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.091s
2023-02-27 21:29:16 |

2023-02-27 21:29:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-27 21:29:16 | ------------------------------------

2023-02-27 21:29:16 | [Mutex] waiting for: [configured:node:node-d3c85556-2d10-4d2a-bbee-51aee0e8fcfe:node-db370ce4-2609-4957-975e-a223fce28635]

2023-02-27 21:29:16 | [Mutex] received everything.

2023-02-27 21:29:16 | [Mutex] isItemNotified: configured:node:node-d3c85556-2d10-4d2a-bbee-51aee0e8fcfe:node-db370ce4-2609-4957-975e-a223fce28635 :: true

2023-02-27 21:29:17 | [Mutex] waiting for: [received:nodes:0425b7dd-34f8-436b-98c9-3005fae23da3:localhost]

2023-02-27 21:29:17 | [Mutex] received everything.

2023-02-27 21:29:17 | [Mutex] isItemNotified: received:node:0425b7dd-34f8-436b-98c9-3005fae23da3:localhost:node-d3c85556-2d10-4d2a-bbee-51aee0e8fcfe:Node d3c85556-2d10-4d2a-bbee-51aee0e8fcfe :: true

2023-02-27 21:29:17 | [Mutex] waiting for: [received:nodes:76003413-0de2-4574-93fe-a3838458cb76:localhost]

2023-02-27 21:29:17 | [Mutex] waiting for: [received:nodes:76003413-0de2-4574-93fe-a3838458cb76:localhost]

2023-02-27 21:29:17 | [Mutex] waiting for: [received:nodes:76003413-0de2-4574-93fe-a3838458cb76:localhost]

2023-02-27 21:29:17 | [Mutex] waiting for: [received:nodes:76003413-0de2-4574-93fe-a3838458cb76:localhost]

2023-02-27 21:29:17 | [Mutex] received everything.

2023-02-27 21:29:17 | [Mutex] isItemNotified: received:node:76003413-0de2-4574-93fe-a3838458cb76:localhost:node-d3c85556-2d10-4d2a-bbee-51aee0e8fcfe:Node d3c85556-2d10-4d2a-bbee-51aee0e8fcfe :: false

createNodes 1.419s
2023-02-27 21:29:13 |

2023-02-27 21:29:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-27 21:29:13 | ------------------------------------

2023-02-27 21:29:13 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-d3c85556-2d10-4d2a-bbee-51aee0e8fcfe</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node d3c85556-2d10-4d2a-bbee-51aee0e8fcfe</title></pubsub></data>

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

2023-02-27 21:29:15 | [Mutex] waiting for: [received:nodes:dcbf7918-af31-4671-aa19-58638f9864dd:localhost]

2023-02-27 21:29:15 | [Mutex] waiting for: [received:nodes:dcbf7918-af31-4671-aa19-58638f9864dd:localhost]

2023-02-27 21:29:15 | [Mutex] waiting for: [received:nodes:dcbf7918-af31-4671-aa19-58638f9864dd:localhost]

2023-02-27 21:29:15 | [Mutex] received everything.

2023-02-27 21:29:15 | [Mutex] isItemNotified: received:node:dcbf7918-af31-4671-aa19-58638f9864dd:localhost:node-d3c85556-2d10-4d2a-bbee-51aee0e8fcfe:Node d3c85556-2d10-4d2a-bbee-51aee0e8fcfe :: true

createSubnodes 1.027s
2023-02-27 21:29:15 |

2023-02-27 21:29:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-27 21:29:15 | ------------------------------------

2023-02-27 21:29:15 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-db370ce4-2609-4957-975e-a223fce28635</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node db370ce4-2609-4957-975e-a223fce28635</title></pubsub></data>

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

2023-02-27 21:29:16 | [Mutex] waiting for: [received:nodes:ad260734-af38-4c48-adf9-5ae3f763c830:localhost]

2023-02-27 21:29:16 | [Mutex] received everything.

2023-02-27 21:29:16 | [Mutex] isItemNotified: received:node:ad260734-af38-4c48-adf9-5ae3f763c830:localhost:node-db370ce4-2609-4957-975e-a223fce28635:Node db370ce4-2609-4957-975e-a223fce28635 :: true

deleteNodes 1.022s
2023-02-27 21:29:21 |

2023-02-27 21:29:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-27 21:29:21 | ------------------------------------

2023-02-27 21:29:21 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-db370ce4-2609-4957-975e-a223fce28635</node></data>

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

2023-02-27 21:29:22 | [Mutex] waiting for: [received:nodes:f73aa7ab-1682-4bb6-97eb-c23a95927753:localhost]

2023-02-27 21:29:22 | [Mutex] waiting for: [received:nodes:f73aa7ab-1682-4bb6-97eb-c23a95927753:localhost]

2023-02-27 21:29:22 | [Mutex] waiting for: [received:nodes:f73aa7ab-1682-4bb6-97eb-c23a95927753:localhost]

2023-02-27 21:29:22 | [Mutex] received everything.

2023-02-27 21:29:22 | [Mutex] isItemNotified: received:node:f73aa7ab-1682-4bb6-97eb-c23a95927753:localhost:node-db370ce4-2609-4957-975e-a223fce28635:Node db370ce4-2609-4957-975e-a223fce28635 :: false

deleteSubnodes 1.130s
2023-02-27 21:29:20 |

2023-02-27 21:29:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-27 21:29:20 | ------------------------------------

2023-02-27 21:29:20 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-d3c85556-2d10-4d2a-bbee-51aee0e8fcfe</node></data>

2023-02-27 21:29:20 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-02-27 21:29:21 | [Mutex] waiting for: [received:nodes:a48e5433-6c6c-4a2b-b218-05912dd3cc70:localhost]

2023-02-27 21:29:21 | [Mutex] waiting for: [received:nodes:a48e5433-6c6c-4a2b-b218-05912dd3cc70:localhost]

2023-02-27 21:29:21 | [Mutex] waiting for: [received:nodes:a48e5433-6c6c-4a2b-b218-05912dd3cc70:localhost]

2023-02-27 21:29:21 | [Mutex] received everything.

2023-02-27 21:29:21 | [Mutex] isItemNotified: received:node:a48e5433-6c6c-4a2b-b218-05912dd3cc70:localhost:node-d3c85556-2d10-4d2a-bbee-51aee0e8fcfe:Node d3c85556-2d10-4d2a-bbee-51aee0e8fcfe :: false

2023-02-27 21:29:21 | [Mutex] waiting for: [received:nodes:ec4587c8-2564-4dec-9e5f-123068a55377:localhost]

2023-02-27 21:29:21 | [Mutex] received everything.

2023-02-27 21:29:21 | [Mutex] isItemNotified: received:node:ec4587c8-2564-4dec-9e5f-123068a55377:localhost:node-d3c85556-2d10-4d2a-bbee-51aee0e8fcfe:Node d3c85556-2d10-4d2a-bbee-51aee0e8fcfe :: false

publishItemsToNodes 0.252s
2023-02-27 21:29:18 |

2023-02-27 21:29:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-27 21:29:18 | ------------------------------------

2023-02-27 21:29:18 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-d3c85556-2d10-4d2a-bbee-51aee0e8fcfe</node><item-id>item-65b6bfc9-0028-4da1-9d8d-a196e72a4487</item-id><entry><test>item-65b6bfc9-0028-4da1-9d8d-a196e72a4487</test></entry></data>

2023-02-27 21:29:18 | 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-65b6bfc9-0028-4da1-9d8d-a196e72a4487</value></item-id></result>

2023-02-27 21:29:18 | [Mutex] received everything.

2023-02-27 21:29:18 | [Mutex] isItemNotified: published:item:notifieditem-65b6bfc9-0028-4da1-9d8d-a196e72a4487:admin@test-domain.com :: true

retractItemsFromNodes 0.186s
2023-02-27 21:29:19 |

2023-02-27 21:29:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-27 21:29:19 | ------------------------------------

2023-02-27 21:29:19 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-d3c85556-2d10-4d2a-bbee-51aee0e8fcfe</node><item-id>item-65b6bfc9-0028-4da1-9d8d-a196e72a4487</item-id></data>

2023-02-27 21:29:19 | 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-65b6bfc9-0028-4da1-9d8d-a196e72a4487</value></item-id></result>

2023-02-27 21:29:19 | [Mutex] waiting for: [retracted:item:notifieditem-65b6bfc9-0028-4da1-9d8d-a196e72a4487:admin@test-domain.com]

2023-02-27 21:29:19 | [Mutex] received everything.

2023-02-27 21:29:19 | [Mutex] isItemNotified: retracted:item:notifieditem-65b6bfc9-0028-4da1-9d8d-a196e72a4487:admin@test-domain.com :: true

retrieveItemsFromNodes 0.217s
2023-02-27 21:29:18 |

2023-02-27 21:29:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-27 21:29:18 | ------------------------------------

2023-02-27 21:29:18 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-d3c85556-2d10-4d2a-bbee-51aee0e8fcfe</node><item-id>item-65b6bfc9-0028-4da1-9d8d-a196e72a4487</item-id></data>

2023-02-27 21:29:18 | 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-d3c85556-2d10-4d2a-bbee-51aee0e8fcfe</value></node><item-id label="Item ID" type="text-single"><value>item-65b6bfc9-0028-4da1-9d8d-a196e72a4487</value></item-id><item label="Item" type="text-multi"><value><item id="item-65b6bfc9-0028-4da1-9d8d-a196e72a4487"><test>item-65b6bfc9-0028-4da1-9d8d-a196e72a4487</test></item></value></item></result>

2023-02-27 21:29:18 | [Mutex] notify: [retrieved:item:item-65b6bfc9-0028-4da1-9d8d-a196e72a4487:payload-matches:true:localhost]

2023-02-27 21:29:18 | [Mutex] received everything.

2023-02-27 21:29:18 | [Mutex] isItemNotified: retrieved:item:item-65b6bfc9-0028-4da1-9d8d-a196e72a4487:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.047s
2023-02-27 21:29:18 |

2023-02-27 21:29:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-27 21:29:18 | ------------------------------------

2023-02-27 21:29:18 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2023-02-27 21:29:18 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-db370ce4-2609-4957-975e-a223fce28635</value><value>test</value><value>node-d3c85556-2d10-4d2a-bbee-51aee0e8fcfe</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.050s
2023-02-27 21:29:18 |

2023-02-27 21:29:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-27 21:29:18 | ------------------------------------

2023-02-27 21:29:18 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-d3c85556-2d10-4d2a-bbee-51aee0e8fcfe)</node-pattern></data>

2023-02-27 21:29:19 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.142s
2023-02-27 21:29:17 |

2023-02-27 21:29:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-27 21:29:17 | ------------------------------------

2023-02-27 21:29:17 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-d3c85556-2d10-4d2a-bbee-51aee0e8fcfe</node><jids><value>admin@test-domain.com</value></jids></data>

2023-02-27 21:29:17 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.202s
2023-02-27 21:29:19 |

2023-02-27 21:29:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-27 21:29:19 | ------------------------------------

2023-02-27 21:29:19 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-d3c85556-2d10-4d2a-bbee-51aee0e8fcfe</node><jids><value>admin@test-domain.com</value></jids></data>

2023-02-27 21:29:19 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>