Generated by TestNG with ReportNG at 22:45 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.335s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.088s
2023-06-22 23:00:15 |

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

2023-06-22 23:00:15 | ------------------------------------

2023-06-22 23:00:15 | [Mutex] waiting for: [configured:node:node-c63988f6-df1a-4342-abd9-118c007638bf:node-c8952647-375d-41f3-86a2-765aaa5dde5c]

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

2023-06-22 23:00:15 | [Mutex] isItemNotified: configured:node:node-c63988f6-df1a-4342-abd9-118c007638bf:node-c8952647-375d-41f3-86a2-765aaa5dde5c :: true

2023-06-22 23:00:16 | [Mutex] waiting for: [received:nodes:400aa016-7dfa-48c4-a9f9-f59ef40bb3c0:localhost]

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

2023-06-22 23:00:16 | [Mutex] isItemNotified: received:node:400aa016-7dfa-48c4-a9f9-f59ef40bb3c0:localhost:node-c63988f6-df1a-4342-abd9-118c007638bf:Node c63988f6-df1a-4342-abd9-118c007638bf :: true

2023-06-22 23:00:16 | [Mutex] waiting for: [received:nodes:ad14691b-1685-4638-aeed-94aff0e832c2:localhost]

2023-06-22 23:00:16 | [Mutex] waiting for: [received:nodes:ad14691b-1685-4638-aeed-94aff0e832c2:localhost]

2023-06-22 23:00:16 | [Mutex] waiting for: [received:nodes:ad14691b-1685-4638-aeed-94aff0e832c2:localhost]

2023-06-22 23:00:16 | [Mutex] waiting for: [received:nodes:ad14691b-1685-4638-aeed-94aff0e832c2:localhost]

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

2023-06-22 23:00:16 | [Mutex] isItemNotified: received:node:ad14691b-1685-4638-aeed-94aff0e832c2:localhost:node-c63988f6-df1a-4342-abd9-118c007638bf:Node c63988f6-df1a-4342-abd9-118c007638bf :: false

createNodes 1.457s
2023-06-22 23:00:12 |

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

2023-06-22 23:00:12 | ------------------------------------

2023-06-22 23:00:12 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-c63988f6-df1a-4342-abd9-118c007638bf</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node c63988f6-df1a-4342-abd9-118c007638bf</title></pubsub></data>

2023-06-22 23:00:13 | 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 23:00:14 | [Mutex] waiting for: [received:nodes:03db06ae-ab0c-4920-bea9-2267a5ca8ee5:localhost]

2023-06-22 23:00:14 | [Mutex] waiting for: [received:nodes:03db06ae-ab0c-4920-bea9-2267a5ca8ee5:localhost]

2023-06-22 23:00:14 | [Mutex] waiting for: [received:nodes:03db06ae-ab0c-4920-bea9-2267a5ca8ee5:localhost]

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

2023-06-22 23:00:14 | [Mutex] isItemNotified: received:node:03db06ae-ab0c-4920-bea9-2267a5ca8ee5:localhost:node-c63988f6-df1a-4342-abd9-118c007638bf:Node c63988f6-df1a-4342-abd9-118c007638bf :: true

createSubnodes 1.019s
2023-06-22 23:00:14 |

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

2023-06-22 23:00:14 | ------------------------------------

2023-06-22 23:00:14 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-c8952647-375d-41f3-86a2-765aaa5dde5c</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node c8952647-375d-41f3-86a2-765aaa5dde5c</title></pubsub></data>

2023-06-22 23:00:14 | 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 23:00:15 | [Mutex] waiting for: [received:nodes:8fbf3014-92e8-4870-9f8b-c8b0861b6b94:localhost]

2023-06-22 23:00:15 | [Mutex] waiting for: [received:nodes:8fbf3014-92e8-4870-9f8b-c8b0861b6b94:localhost]

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

2023-06-22 23:00:15 | [Mutex] isItemNotified: received:node:8fbf3014-92e8-4870-9f8b-c8b0861b6b94:localhost:node-c8952647-375d-41f3-86a2-765aaa5dde5c:Node c8952647-375d-41f3-86a2-765aaa5dde5c :: true

deleteNodes 1.018s
2023-06-22 23:00:20 |

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

2023-06-22 23:00:20 | ------------------------------------

2023-06-22 23:00:20 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-c8952647-375d-41f3-86a2-765aaa5dde5c</node></data>

2023-06-22 23:00:20 | 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 23:00:21 | [Mutex] waiting for: [received:nodes:eb195b3f-a59f-4c23-8e8d-6c7c54ca243c:localhost]

2023-06-22 23:00:21 | [Mutex] waiting for: [received:nodes:eb195b3f-a59f-4c23-8e8d-6c7c54ca243c:localhost]

2023-06-22 23:00:21 | [Mutex] waiting for: [received:nodes:eb195b3f-a59f-4c23-8e8d-6c7c54ca243c:localhost]

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

2023-06-22 23:00:21 | [Mutex] isItemNotified: received:node:eb195b3f-a59f-4c23-8e8d-6c7c54ca243c:localhost:node-c8952647-375d-41f3-86a2-765aaa5dde5c:Node c8952647-375d-41f3-86a2-765aaa5dde5c :: false

deleteSubnodes 1.102s
2023-06-22 23:00:19 |

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

2023-06-22 23:00:19 | ------------------------------------

2023-06-22 23:00:19 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-c63988f6-df1a-4342-abd9-118c007638bf</node></data>

2023-06-22 23:00:19 | 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 23:00:20 | [Mutex] waiting for: [received:nodes:c89a9c7e-cb08-4eb6-be2d-d92612364c96:localhost]

2023-06-22 23:00:20 | [Mutex] waiting for: [received:nodes:c89a9c7e-cb08-4eb6-be2d-d92612364c96:localhost]

2023-06-22 23:00:20 | [Mutex] waiting for: [received:nodes:c89a9c7e-cb08-4eb6-be2d-d92612364c96:localhost]

2023-06-22 23:00:20 | [Mutex] waiting for: [received:nodes:c89a9c7e-cb08-4eb6-be2d-d92612364c96:localhost]

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

2023-06-22 23:00:20 | [Mutex] isItemNotified: received:node:c89a9c7e-cb08-4eb6-be2d-d92612364c96:localhost:node-c63988f6-df1a-4342-abd9-118c007638bf:Node c63988f6-df1a-4342-abd9-118c007638bf :: false

2023-06-22 23:00:20 | [Mutex] waiting for: [received:nodes:80d19352-5be3-46f5-b5b8-fe6d8d884e42:localhost]

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

2023-06-22 23:00:20 | [Mutex] isItemNotified: received:node:80d19352-5be3-46f5-b5b8-fe6d8d884e42:localhost:node-c63988f6-df1a-4342-abd9-118c007638bf:Node c63988f6-df1a-4342-abd9-118c007638bf :: false

publishItemsToNodes 0.218s
2023-06-22 23:00:17 |

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

2023-06-22 23:00:17 | ------------------------------------

2023-06-22 23:00:17 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-c63988f6-df1a-4342-abd9-118c007638bf</node><item-id>item-250dd7ec-b874-42ef-bec6-3cf844d482e2</item-id><entry><test>item-250dd7ec-b874-42ef-bec6-3cf844d482e2</test></entry></data>

2023-06-22 23:00:17 | 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-250dd7ec-b874-42ef-bec6-3cf844d482e2</value></item-id></result>

2023-06-22 23:00:17 | [Mutex] waiting for: [published:item:notifieditem-250dd7ec-b874-42ef-bec6-3cf844d482e2:admin@test-domain.com]

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

2023-06-22 23:00:17 | [Mutex] isItemNotified: published:item:notifieditem-250dd7ec-b874-42ef-bec6-3cf844d482e2:admin@test-domain.com :: true

retractItemsFromNodes 0.259s
2023-06-22 23:00:18 |

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

2023-06-22 23:00:18 | ------------------------------------

2023-06-22 23:00:18 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-c63988f6-df1a-4342-abd9-118c007638bf</node><item-id>item-250dd7ec-b874-42ef-bec6-3cf844d482e2</item-id></data>

2023-06-22 23:00:18 | 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-250dd7ec-b874-42ef-bec6-3cf844d482e2</value></item-id></result>

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

2023-06-22 23:00:18 | [Mutex] isItemNotified: retracted:item:notifieditem-250dd7ec-b874-42ef-bec6-3cf844d482e2:admin@test-domain.com :: true

retrieveItemsFromNodes 0.158s
2023-06-22 23:00:17 |

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

2023-06-22 23:00:17 | ------------------------------------

2023-06-22 23:00:17 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-c63988f6-df1a-4342-abd9-118c007638bf</node><item-id>item-250dd7ec-b874-42ef-bec6-3cf844d482e2</item-id></data>

2023-06-22 23:00: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-c63988f6-df1a-4342-abd9-118c007638bf</value></node><item-id label="Item ID" type="text-single"><value>item-250dd7ec-b874-42ef-bec6-3cf844d482e2</value></item-id><item label="Item" type="text-multi"><value><item id="item-250dd7ec-b874-42ef-bec6-3cf844d482e2"><test>item-250dd7ec-b874-42ef-bec6-3cf844d482e2</test></item></value></item></result>

2023-06-22 23:00:18 | [Mutex] notify: [retrieved:item:item-250dd7ec-b874-42ef-bec6-3cf844d482e2:payload-matches:true:localhost]

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

2023-06-22 23:00:18 | [Mutex] isItemNotified: retrieved:item:item-250dd7ec-b874-42ef-bec6-3cf844d482e2:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.050s
2023-06-22 23:00:18 |

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

2023-06-22 23:00:18 | ------------------------------------

2023-06-22 23:00:18 | 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 23:00:18 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-c63988f6-df1a-4342-abd9-118c007638bf</value><value>test</value><value>node-c8952647-375d-41f3-86a2-765aaa5dde5c</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2023-06-22 23:00:18 |

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

2023-06-22 23:00:18 | ------------------------------------

2023-06-22 23:00: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-c63988f6-df1a-4342-abd9-118c007638bf)</node-pattern></data>

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

subscribeNodes 1.153s
2023-06-22 23:00:16 |

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

2023-06-22 23:00:16 | ------------------------------------

2023-06-22 23:00:16 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-c63988f6-df1a-4342-abd9-118c007638bf</node><jids><value>admin@test-domain.com</value></jids></data>

2023-06-22 23:00: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.171s
2023-06-22 23:00:18 |

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

2023-06-22 23:00:18 | ------------------------------------

2023-06-22 23:00:18 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-c63988f6-df1a-4342-abd9-118c007638bf</node><jids><value>admin@test-domain.com</value></jids></data>

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