Generated by TestNG with ReportNG at 12:36 PDT on Monday 10 July 2023
root@8f5c98824654 / 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.429s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.095s
2023-07-10 12:51:15 |

2023-07-10 12:51:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-10 12:51:15 | ------------------------------------

2023-07-10 12:51:15 | [Mutex] waiting for: [configured:node:node-c5ddddae-0184-44ad-b8ca-f4d88b4d3565:node-c97cf081-9396-4b32-aeed-83a53dfe634e]

2023-07-10 12:51:15 | [Mutex] received everything.

2023-07-10 12:51:15 | [Mutex] isItemNotified: configured:node:node-c5ddddae-0184-44ad-b8ca-f4d88b4d3565:node-c97cf081-9396-4b32-aeed-83a53dfe634e :: true

2023-07-10 12:51:16 | [Mutex] waiting for: [received:nodes:3194a79e-704c-4128-a988-a932577af6fc:localhost]

2023-07-10 12:51:16 | [Mutex] received everything.

2023-07-10 12:51:16 | [Mutex] isItemNotified: received:node:3194a79e-704c-4128-a988-a932577af6fc:localhost:node-c5ddddae-0184-44ad-b8ca-f4d88b4d3565:Node c5ddddae-0184-44ad-b8ca-f4d88b4d3565 :: true

2023-07-10 12:51:16 | [Mutex] waiting for: [received:nodes:d8ad2245-1260-4316-a280-2ce23af78118:localhost]

2023-07-10 12:51:16 | [Mutex] waiting for: [received:nodes:d8ad2245-1260-4316-a280-2ce23af78118:localhost]

2023-07-10 12:51:16 | [Mutex] waiting for: [received:nodes:d8ad2245-1260-4316-a280-2ce23af78118:localhost]

2023-07-10 12:51:16 | [Mutex] waiting for: [received:nodes:d8ad2245-1260-4316-a280-2ce23af78118:localhost]

2023-07-10 12:51:16 | [Mutex] received everything.

2023-07-10 12:51:16 | [Mutex] isItemNotified: received:node:d8ad2245-1260-4316-a280-2ce23af78118:localhost:node-c5ddddae-0184-44ad-b8ca-f4d88b4d3565:Node c5ddddae-0184-44ad-b8ca-f4d88b4d3565 :: false

createNodes 1.431s
2023-07-10 12:51:12 |

2023-07-10 12:51:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-10 12:51:12 | ------------------------------------

2023-07-10 12:51:12 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-c5ddddae-0184-44ad-b8ca-f4d88b4d3565</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node c5ddddae-0184-44ad-b8ca-f4d88b4d3565</title></pubsub></data>

2023-07-10 12:51:13 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-07-10 12:51:14 | [Mutex] waiting for: [received:nodes:06405e0c-c058-464c-bbd0-0e7d8c482f51:localhost]

2023-07-10 12:51:14 | [Mutex] received everything.

2023-07-10 12:51:14 | [Mutex] isItemNotified: received:node:06405e0c-c058-464c-bbd0-0e7d8c482f51:localhost:node-c5ddddae-0184-44ad-b8ca-f4d88b4d3565:Node c5ddddae-0184-44ad-b8ca-f4d88b4d3565 :: true

createSubnodes 1.035s
2023-07-10 12:51:14 |

2023-07-10 12:51:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-10 12:51:14 | ------------------------------------

2023-07-10 12:51:14 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-c97cf081-9396-4b32-aeed-83a53dfe634e</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node c97cf081-9396-4b32-aeed-83a53dfe634e</title></pubsub></data>

2023-07-10 12:51:14 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-07-10 12:51:15 | [Mutex] waiting for: [received:nodes:2ce4f717-c18e-4be0-a29c-08d1bd7c3006:localhost]

2023-07-10 12:51:15 | [Mutex] waiting for: [received:nodes:2ce4f717-c18e-4be0-a29c-08d1bd7c3006:localhost]

2023-07-10 12:51:15 | [Mutex] waiting for: [received:nodes:2ce4f717-c18e-4be0-a29c-08d1bd7c3006:localhost]

2023-07-10 12:51:15 | [Mutex] received everything.

2023-07-10 12:51:15 | [Mutex] isItemNotified: received:node:2ce4f717-c18e-4be0-a29c-08d1bd7c3006:localhost:node-c97cf081-9396-4b32-aeed-83a53dfe634e:Node c97cf081-9396-4b32-aeed-83a53dfe634e :: true

deleteNodes 1.022s
2023-07-10 12:51:20 |

2023-07-10 12:51:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-10 12:51:20 | ------------------------------------

2023-07-10 12:51:20 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-c97cf081-9396-4b32-aeed-83a53dfe634e</node></data>

2023-07-10 12:51:20 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-07-10 12:51:21 | [Mutex] waiting for: [received:nodes:ec22cdfe-7691-4a84-8420-8772310010a5:localhost]

2023-07-10 12:51:21 | [Mutex] waiting for: [received:nodes:ec22cdfe-7691-4a84-8420-8772310010a5:localhost]

2023-07-10 12:51:21 | [Mutex] waiting for: [received:nodes:ec22cdfe-7691-4a84-8420-8772310010a5:localhost]

2023-07-10 12:51:21 | [Mutex] received everything.

2023-07-10 12:51:21 | [Mutex] isItemNotified: received:node:ec22cdfe-7691-4a84-8420-8772310010a5:localhost:node-c97cf081-9396-4b32-aeed-83a53dfe634e:Node c97cf081-9396-4b32-aeed-83a53dfe634e :: false

deleteSubnodes 1.177s
2023-07-10 12:51:19 |

2023-07-10 12:51:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-10 12:51:19 | ------------------------------------

2023-07-10 12:51:19 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-c5ddddae-0184-44ad-b8ca-f4d88b4d3565</node></data>

2023-07-10 12:51:19 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-07-10 12:51:20 | [Mutex] waiting for: [received:nodes:852c279a-ee7e-42d0-a793-21f706a63595:localhost]

2023-07-10 12:51:20 | [Mutex] waiting for: [received:nodes:852c279a-ee7e-42d0-a793-21f706a63595:localhost]

2023-07-10 12:51:20 | [Mutex] waiting for: [received:nodes:852c279a-ee7e-42d0-a793-21f706a63595:localhost]

2023-07-10 12:51:20 | [Mutex] received everything.

2023-07-10 12:51:20 | [Mutex] isItemNotified: received:node:852c279a-ee7e-42d0-a793-21f706a63595:localhost:node-c5ddddae-0184-44ad-b8ca-f4d88b4d3565:Node c5ddddae-0184-44ad-b8ca-f4d88b4d3565 :: false

2023-07-10 12:51:20 | [Mutex] waiting for: [received:nodes:b702148e-34f9-4449-b6bb-8fd9eeb4e9a0:localhost]

2023-07-10 12:51:20 | [Mutex] received everything.

2023-07-10 12:51:20 | [Mutex] isItemNotified: received:node:b702148e-34f9-4449-b6bb-8fd9eeb4e9a0:localhost:node-c5ddddae-0184-44ad-b8ca-f4d88b4d3565:Node c5ddddae-0184-44ad-b8ca-f4d88b4d3565 :: false

publishItemsToNodes 0.273s
2023-07-10 12:51:17 |

2023-07-10 12:51:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-10 12:51:17 | ------------------------------------

2023-07-10 12:51:17 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-c5ddddae-0184-44ad-b8ca-f4d88b4d3565</node><item-id>item-0ce595c5-afb9-4c5d-b0dd-2f370b475ebc</item-id><entry><test>item-0ce595c5-afb9-4c5d-b0dd-2f370b475ebc</test></entry></data>

2023-07-10 12:51:17 | 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-0ce595c5-afb9-4c5d-b0dd-2f370b475ebc</value></item-id></result>

2023-07-10 12:51:17 | [Mutex] waiting for: [published:item:notifieditem-0ce595c5-afb9-4c5d-b0dd-2f370b475ebc:admin@test-domain.com]

2023-07-10 12:51:17 | [Mutex] received everything.

2023-07-10 12:51:17 | [Mutex] isItemNotified: published:item:notifieditem-0ce595c5-afb9-4c5d-b0dd-2f370b475ebc:admin@test-domain.com :: true

retractItemsFromNodes 0.171s
2023-07-10 12:51:18 |

2023-07-10 12:51:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-10 12:51:18 | ------------------------------------

2023-07-10 12:51:18 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-c5ddddae-0184-44ad-b8ca-f4d88b4d3565</node><item-id>item-0ce595c5-afb9-4c5d-b0dd-2f370b475ebc</item-id></data>

2023-07-10 12:51:18 | 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-0ce595c5-afb9-4c5d-b0dd-2f370b475ebc</value></item-id></result>

2023-07-10 12:51:18 | [Mutex] received everything.

2023-07-10 12:51:18 | [Mutex] isItemNotified: retracted:item:notifieditem-0ce595c5-afb9-4c5d-b0dd-2f370b475ebc:admin@test-domain.com :: true

retrieveItemsFromNodes 0.154s
2023-07-10 12:51:17 |

2023-07-10 12:51:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-10 12:51:17 | ------------------------------------

2023-07-10 12:51:17 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-c5ddddae-0184-44ad-b8ca-f4d88b4d3565</node><item-id>item-0ce595c5-afb9-4c5d-b0dd-2f370b475ebc</item-id></data>

2023-07-10 12:51:17 | 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-c5ddddae-0184-44ad-b8ca-f4d88b4d3565</value></node><item-id type="text-single" label="Item ID"><value>item-0ce595c5-afb9-4c5d-b0dd-2f370b475ebc</value></item-id><item type="text-multi" label="Item"><value><item id="item-0ce595c5-afb9-4c5d-b0dd-2f370b475ebc"><test>item-0ce595c5-afb9-4c5d-b0dd-2f370b475ebc</test></item></value></item></result>

2023-07-10 12:51:17 | [Mutex] notify: [retrieved:item:item-0ce595c5-afb9-4c5d-b0dd-2f370b475ebc:payload-matches:true:localhost]

2023-07-10 12:51:17 | [Mutex] received everything.

2023-07-10 12:51:17 | [Mutex] isItemNotified: retrieved:item:item-0ce595c5-afb9-4c5d-b0dd-2f370b475ebc:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2023-07-10 12:51:17 |

2023-07-10 12:51:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-10 12:51:17 | ------------------------------------

2023-07-10 12:51:17 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2023-07-10 12:51:17 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-c97cf081-9396-4b32-aeed-83a53dfe634e</value><value>test</value><value>node-c5ddddae-0184-44ad-b8ca-f4d88b4d3565</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.051s
2023-07-10 12:51:17 |

2023-07-10 12:51:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-10 12:51:17 | ------------------------------------

2023-07-10 12:51:17 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-c5ddddae-0184-44ad-b8ca-f4d88b4d3565)</node-pattern></data>

2023-07-10 12:51:18 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.109s
2023-07-10 12:51:16 |

2023-07-10 12:51:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-10 12:51:16 | ------------------------------------

2023-07-10 12:51:16 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-c5ddddae-0184-44ad-b8ca-f4d88b4d3565</node><jids><value>admin@test-domain.com</value></jids></data>

2023-07-10 12:51:16 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.211s
2023-07-10 12:51:18 |

2023-07-10 12:51:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-10 12:51:18 | ------------------------------------

2023-07-10 12:51:18 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-c5ddddae-0184-44ad-b8ca-f4d88b4d3565</node><jids><value>admin@test-domain.com</value></jids></data>

2023-07-10 12:51:18 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>