Generated by TestNG with ReportNG at 22:16 PDT on Thursday 22 June 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.398s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.098s
2023-06-22 22:30:21 |

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

2023-06-22 22:30:21 | ------------------------------------

2023-06-22 22:30:21 | [Mutex] waiting for: [configured:node:node-340afd34-b4d9-4672-98a2-dcd2aee3378c:node-dabac645-a14c-429d-ab18-0bf88b43154d]

2023-06-22 22:30:21 | [Mutex] received everything.

2023-06-22 22:30:21 | [Mutex] isItemNotified: configured:node:node-340afd34-b4d9-4672-98a2-dcd2aee3378c:node-dabac645-a14c-429d-ab18-0bf88b43154d :: true

2023-06-22 22:30:22 | [Mutex] waiting for: [received:nodes:58315f99-a82e-49c3-84c7-15aedf4ec1fc:localhost]

2023-06-22 22:30:22 | [Mutex] received everything.

2023-06-22 22:30:22 | [Mutex] isItemNotified: received:node:58315f99-a82e-49c3-84c7-15aedf4ec1fc:localhost:node-340afd34-b4d9-4672-98a2-dcd2aee3378c:Node 340afd34-b4d9-4672-98a2-dcd2aee3378c :: true

2023-06-22 22:30:22 | [Mutex] waiting for: [received:nodes:bcb2b370-7bf8-4f0d-81a6-8f5fff75230d:localhost]

2023-06-22 22:30:22 | [Mutex] waiting for: [received:nodes:bcb2b370-7bf8-4f0d-81a6-8f5fff75230d:localhost]

2023-06-22 22:30:22 | [Mutex] waiting for: [received:nodes:bcb2b370-7bf8-4f0d-81a6-8f5fff75230d:localhost]

2023-06-22 22:30:22 | [Mutex] waiting for: [received:nodes:bcb2b370-7bf8-4f0d-81a6-8f5fff75230d:localhost]

2023-06-22 22:30:22 | [Mutex] received everything.

2023-06-22 22:30:22 | [Mutex] isItemNotified: received:node:bcb2b370-7bf8-4f0d-81a6-8f5fff75230d:localhost:node-340afd34-b4d9-4672-98a2-dcd2aee3378c:Node 340afd34-b4d9-4672-98a2-dcd2aee3378c :: false

createNodes 1.485s
2023-06-22 22:30:18 |

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

2023-06-22 22:30:18 | ------------------------------------

2023-06-22 22:30:18 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-340afd34-b4d9-4672-98a2-dcd2aee3378c</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 340afd34-b4d9-4672-98a2-dcd2aee3378c</title></pubsub></data>

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

2023-06-22 22:30:20 | [Mutex] waiting for: [received:nodes:6e28257e-7ad8-4274-8fd8-ce886335f341:localhost]

2023-06-22 22:30:20 | [Mutex] waiting for: [received:nodes:6e28257e-7ad8-4274-8fd8-ce886335f341:localhost]

2023-06-22 22:30:20 | [Mutex] waiting for: [received:nodes:6e28257e-7ad8-4274-8fd8-ce886335f341:localhost]

2023-06-22 22:30:20 | [Mutex] waiting for: [received:nodes:6e28257e-7ad8-4274-8fd8-ce886335f341:localhost]

2023-06-22 22:30:20 | [Mutex] received everything.

2023-06-22 22:30:20 | [Mutex] isItemNotified: received:node:6e28257e-7ad8-4274-8fd8-ce886335f341:localhost:node-340afd34-b4d9-4672-98a2-dcd2aee3378c:Node 340afd34-b4d9-4672-98a2-dcd2aee3378c :: true

createSubnodes 1.022s
2023-06-22 22:30:20 |

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

2023-06-22 22:30:20 | ------------------------------------

2023-06-22 22:30:20 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-dabac645-a14c-429d-ab18-0bf88b43154d</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node dabac645-a14c-429d-ab18-0bf88b43154d</title></pubsub></data>

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

2023-06-22 22:30:21 | [Mutex] waiting for: [received:nodes:d01ac57c-3e58-478c-bcf2-63af1abb7197:localhost]

2023-06-22 22:30:21 | [Mutex] waiting for: [received:nodes:d01ac57c-3e58-478c-bcf2-63af1abb7197:localhost]

2023-06-22 22:30:21 | [Mutex] waiting for: [received:nodes:d01ac57c-3e58-478c-bcf2-63af1abb7197:localhost]

2023-06-22 22:30:21 | [Mutex] waiting for: [received:nodes:d01ac57c-3e58-478c-bcf2-63af1abb7197:localhost]

2023-06-22 22:30:21 | [Mutex] received everything.

2023-06-22 22:30:21 | [Mutex] isItemNotified: received:node:d01ac57c-3e58-478c-bcf2-63af1abb7197:localhost:node-dabac645-a14c-429d-ab18-0bf88b43154d:Node dabac645-a14c-429d-ab18-0bf88b43154d :: true

deleteNodes 1.016s
2023-06-22 22:30:26 |

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

2023-06-22 22:30:26 | ------------------------------------

2023-06-22 22:30:26 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-dabac645-a14c-429d-ab18-0bf88b43154d</node></data>

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

2023-06-22 22:30:27 | [Mutex] waiting for: [received:nodes:f8359303-f226-40f1-848d-a1bdb4a15e09:localhost]

2023-06-22 22:30:27 | [Mutex] waiting for: [received:nodes:f8359303-f226-40f1-848d-a1bdb4a15e09:localhost]

2023-06-22 22:30:27 | [Mutex] waiting for: [received:nodes:f8359303-f226-40f1-848d-a1bdb4a15e09:localhost]

2023-06-22 22:30:27 | [Mutex] received everything.

2023-06-22 22:30:27 | [Mutex] isItemNotified: received:node:f8359303-f226-40f1-848d-a1bdb4a15e09:localhost:node-dabac645-a14c-429d-ab18-0bf88b43154d:Node dabac645-a14c-429d-ab18-0bf88b43154d :: false

deleteSubnodes 1.109s
2023-06-22 22:30:25 |

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

2023-06-22 22:30:25 | ------------------------------------

2023-06-22 22:30:25 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-340afd34-b4d9-4672-98a2-dcd2aee3378c</node></data>

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

2023-06-22 22:30:26 | [Mutex] waiting for: [received:nodes:a84014f1-0724-474b-a3ae-a8a8f4659587:localhost]

2023-06-22 22:30:26 | [Mutex] waiting for: [received:nodes:a84014f1-0724-474b-a3ae-a8a8f4659587:localhost]

2023-06-22 22:30:26 | [Mutex] waiting for: [received:nodes:a84014f1-0724-474b-a3ae-a8a8f4659587:localhost]

2023-06-22 22:30:26 | [Mutex] waiting for: [received:nodes:a84014f1-0724-474b-a3ae-a8a8f4659587:localhost]

2023-06-22 22:30:26 | [Mutex] received everything.

2023-06-22 22:30:26 | [Mutex] isItemNotified: received:node:a84014f1-0724-474b-a3ae-a8a8f4659587:localhost:node-340afd34-b4d9-4672-98a2-dcd2aee3378c:Node 340afd34-b4d9-4672-98a2-dcd2aee3378c :: false

2023-06-22 22:30:26 | [Mutex] waiting for: [received:nodes:51c4944f-d6b2-4824-a7ae-a6c7894247b6:localhost]

2023-06-22 22:30:26 | [Mutex] received everything.

2023-06-22 22:30:26 | [Mutex] isItemNotified: received:node:51c4944f-d6b2-4824-a7ae-a6c7894247b6:localhost:node-340afd34-b4d9-4672-98a2-dcd2aee3378c:Node 340afd34-b4d9-4672-98a2-dcd2aee3378c :: false

publishItemsToNodes 0.285s
2023-06-22 22:30:23 |

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

2023-06-22 22:30:23 | ------------------------------------

2023-06-22 22:30:23 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-340afd34-b4d9-4672-98a2-dcd2aee3378c</node><item-id>item-1351ca78-35a2-43d8-b00e-aa5dc13d3e88</item-id><entry><test>item-1351ca78-35a2-43d8-b00e-aa5dc13d3e88</test></entry></data>

2023-06-22 22:30:23 | 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-1351ca78-35a2-43d8-b00e-aa5dc13d3e88</value></item-id></result>

2023-06-22 22:30:23 | [Mutex] waiting for: [published:item:notifieditem-1351ca78-35a2-43d8-b00e-aa5dc13d3e88:admin@test-domain.com]

2023-06-22 22:30:23 | [Mutex] received everything.

2023-06-22 22:30:23 | [Mutex] isItemNotified: published:item:notifieditem-1351ca78-35a2-43d8-b00e-aa5dc13d3e88:admin@test-domain.com :: true

retractItemsFromNodes 0.243s
2023-06-22 22:30:23 |

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

2023-06-22 22:30:23 | ------------------------------------

2023-06-22 22:30:23 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-340afd34-b4d9-4672-98a2-dcd2aee3378c</node><item-id>item-1351ca78-35a2-43d8-b00e-aa5dc13d3e88</item-id></data>

2023-06-22 22:30:24 | 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-1351ca78-35a2-43d8-b00e-aa5dc13d3e88</value></item-id></result>

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

2023-06-22 22:30:24 | [Mutex] isItemNotified: retracted:item:notifieditem-1351ca78-35a2-43d8-b00e-aa5dc13d3e88:admin@test-domain.com :: true

retrieveItemsFromNodes 0.123s
2023-06-22 22:30:23 |

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

2023-06-22 22:30:23 | ------------------------------------

2023-06-22 22:30:23 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-340afd34-b4d9-4672-98a2-dcd2aee3378c</node><item-id>item-1351ca78-35a2-43d8-b00e-aa5dc13d3e88</item-id></data>

2023-06-22 22:30:23 | 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-340afd34-b4d9-4672-98a2-dcd2aee3378c</value></node><item-id type="text-single" label="Item ID"><value>item-1351ca78-35a2-43d8-b00e-aa5dc13d3e88</value></item-id><item type="text-multi" label="Item"><value><item id="item-1351ca78-35a2-43d8-b00e-aa5dc13d3e88"><test>item-1351ca78-35a2-43d8-b00e-aa5dc13d3e88</test></item></value></item></result>

2023-06-22 22:30:23 | [Mutex] notify: [retrieved:item:item-1351ca78-35a2-43d8-b00e-aa5dc13d3e88:payload-matches:true:localhost]

2023-06-22 22:30:23 | [Mutex] received everything.

2023-06-22 22:30:23 | [Mutex] isItemNotified: retrieved:item:item-1351ca78-35a2-43d8-b00e-aa5dc13d3e88:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.051s
2023-06-22 22:30:23 |

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

2023-06-22 22:30:23 | ------------------------------------

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

2023-06-22 22:30:23 | 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-340afd34-b4d9-4672-98a2-dcd2aee3378c</value><value>node-dabac645-a14c-429d-ab18-0bf88b43154d</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2023-06-22 22:30:23 |

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

2023-06-22 22:30:23 | ------------------------------------

2023-06-22 22:30:23 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-340afd34-b4d9-4672-98a2-dcd2aee3378c)</node-pattern></data>

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

subscribeNodes 1.106s
2023-06-22 22:30:22 |

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

2023-06-22 22:30:22 | ------------------------------------

2023-06-22 22:30:22 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-340afd34-b4d9-4672-98a2-dcd2aee3378c</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.255s
2023-06-22 22:30:24 |

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

2023-06-22 22:30:24 | ------------------------------------

2023-06-22 22:30:24 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-340afd34-b4d9-4672-98a2-dcd2aee3378c</node><jids><value>admin@test-domain.com</value></jids></data>

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