Generated by TestNG with ReportNG at 08:01 PDT on Friday 25 June 2021
root@b2c2a8eba6e6 / Java 11.0.8 (Ubuntu) / Linux 4.14.186-146.268.amzn2.x86_64 (amd64)

REST: Item publication on PubSub node with message expiration using REST API - #2959

Suites · Log Output

Test duration : 45.226s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.706s
2021-06-25 08:18:03 |

2021-06-25 08:18:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-06-25 08:18:03 | ------------------------------------

2021-06-25 08:18:03 | [Mutex] isItemNotified: node_5f2y3p0203:exists :: false

2021-06-25 08:18:03 | [Mutex] waiting for: [node_5f2y3p0203:create_node]

2021-06-25 08:18:03 | [Mutex] received everything.

2021-06-25 08:18:03 | [Mutex] isItemNotified: node_5f2y3p0203:create_node:success :: true

2021-06-25 08:18:03 | [Mutex] waiting for: [node_5f2y3p0203:subscribe_node]

2021-06-25 08:18:03 | [Mutex] waiting for: [node_5f2y3p0203:subscribe_node]

2021-06-25 08:18:03 | [Mutex] received everything.

2021-06-25 08:18:03 | [Mutex] isItemNotified: node_5f2y3p0203:subscribe_node:success :: true

2021-06-25 08:18:03 |


===== publishing normal message (to online)


2021-06-25 08:18:03 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-06-25 08:18:03 | command: <data><node>node_5f2y3p0203</node><entry><content>content_q3jmz70204</content></entry></data>

2021-06-25 08:18:03 | target: http://localhost:8088

2021-06-25 08:18:03 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-06-25 08:18:03 | entity: <data><node>node_5f2y3p0203</node><entry><content>content_q3jmz70204</content></entry></data>

2021-06-25 08:18:03 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 25 Jun 2021 15:18:03 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-06-25 08:18:03 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>c937d991-4481-4c0c-a3db-7ad60be1a797</value></item-id></result>

2021-06-25 08:18:03 | contains: true

2021-06-25 08:18:03 | [Mutex] received everything.

2021-06-25 08:18:03 | [Mutex] isItemNotified: user_regularq3qfrw0202@test-domain.com:message:received:content_q3jmz70204 :: true

2021-06-25 08:18:03 |


===== publishing already old message - expecting message being filtered out (to online)


2021-06-25 08:18:03 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-06-25 08:18:03 | command: <data><node>node_5f2y3p0203</node><expire-at>2021-06-25T15:17:58Z</expire-at><entry><content>content_9000li0205</content></entry></data>

2021-06-25 08:18:03 | target: http://localhost:8088

2021-06-25 08:18:03 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-06-25 08:18:03 | entity: <data><node>node_5f2y3p0203</node><expire-at>2021-06-25T15:17:58Z</expire-at><entry><content>content_9000li0205</content></entry></data>

2021-06-25 08:18:03 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 25 Jun 2021 15:18:03 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-06-25 08:18:03 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>16dd22e4-af39-477d-ab1f-7d9c53f83567</value></item-id></result>

2021-06-25 08:18:03 | contains: true

2021-06-25 08:18:03 | [Mutex] waiting for: [user_regularq3qfrw0202@test-domain.com:message:received:content_9000li0205]

2021-06-25 08:18:18 | [Mutex] timeout. Not received [user_regularq3qfrw0202@test-domain.com:message:received:content_9000li0205]

2021-06-25 08:18:18 | [Mutex] isItemNotified: user_regularq3qfrw0202@test-domain.com:message:received:content_9000li0205 :: false

2021-06-25 08:18:18 |


===== publishing normal message (to offline)


2021-06-25 08:18:18 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-06-25 08:18:18 | command: <data><node>node_5f2y3p0203</node><entry><content>content_b40bte0206</content></entry></data>

2021-06-25 08:18:18 | target: http://localhost:8088

2021-06-25 08:18:18 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-06-25 08:18:18 | entity: <data><node>node_5f2y3p0203</node><entry><content>content_b40bte0206</content></entry></data>

2021-06-25 08:18:18 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 25 Jun 2021 15:18:18 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-06-25 08:18:18 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>03d54ab1-fac2-4c78-a713-9f1f0bbbc9e7</value></item-id></result>

2021-06-25 08:18:18 | contains: true

2021-06-25 08:18:23 | [Mutex] waiting for: [user_regularq3qfrw0202@test-domain.com:message:received:content_b40bte0206]

2021-06-25 08:18:23 | [Mutex] waiting for: [user_regularq3qfrw0202@test-domain.com:message:received:content_b40bte0206]

2021-06-25 08:18:23 | [Mutex] received everything.

2021-06-25 08:18:23 | [Mutex] isItemNotified: user_regularq3qfrw0202@test-domain.com:message:received:content_b40bte0206 :: true

2021-06-25 08:18:23 |


===== publishing already old message - expecting message being filtered out (to offline)


2021-06-25 08:18:23 | [Mutex] received everything.

2021-06-25 08:18:23 | [Mutex] isItemNotified: node_5f2y3p0203:subscribe_node:success :: true

2021-06-25 08:18:23 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-06-25 08:18:23 | command: <data><node>node_5f2y3p0203</node><expire-at>2021-06-25T15:18:28Z</expire-at><entry><content>content_2di9gb0207</content></entry></data>

2021-06-25 08:18:23 | target: http://localhost:8088

2021-06-25 08:18:23 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-06-25 08:18:23 | entity: <data><node>node_5f2y3p0203</node><expire-at>2021-06-25T15:18:28Z</expire-at><entry><content>content_2di9gb0207</content></entry></data>

2021-06-25 08:18:24 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 25 Jun 2021 15:18:24 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-06-25 08:18:24 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>e68f8c98-60f5-4b33-9e21-d40feffbb872</value></item-id></result>

2021-06-25 08:18:24 | contains: true

2021-06-25 08:18:32 | [Mutex] waiting for: [user_regularq3qfrw0202@test-domain.com:message:received:content_2di9gb0207]

2021-06-25 08:18:32 | [Mutex] waiting for: [user_regularq3qfrw0202@test-domain.com:message:received:content_2di9gb0207]

2021-06-25 08:18:47 | [Mutex] timeout. Not received [user_regularq3qfrw0202@test-domain.com:message:received:content_2di9gb0207]

2021-06-25 08:18:47 | [Mutex] received everything.

2021-06-25 08:18:47 | [Mutex] isItemNotified: user_regularq3qfrw0202@test-domain.com:message:received:content_2di9gb0207 :: false

2021-06-25 08:18:47 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_2di9gb0207 :: true