Generated by TestNG with ReportNG at 21:40 PST on Tuesday 09 November 2021
root@f29ef40080b5 / 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.523s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.707s
2021-11-09 21:55:06 |

2021-11-09 21:55:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-11-09 21:55:06 | ------------------------------------

2021-11-09 21:55:06 | [Mutex] isItemNotified: node_2bsx210203:exists :: false

2021-11-09 21:55:06 | [Mutex] waiting for: [node_2bsx210203:create_node]

2021-11-09 21:55:06 | [Mutex] received everything.

2021-11-09 21:55:06 | [Mutex] isItemNotified: node_2bsx210203:create_node:success :: true

2021-11-09 21:55:06 | [Mutex] waiting for: [node_2bsx210203:subscribe_node]

2021-11-09 21:55:06 | [Mutex] received everything.

2021-11-09 21:55:06 | [Mutex] isItemNotified: node_2bsx210203:subscribe_node:success :: true

2021-11-09 21:55:06 |


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


2021-11-09 21:55:06 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-11-09 21:55:06 | command: <data><node>node_2bsx210203</node><entry><content>content_1uci650204</content></entry></data>

2021-11-09 21:55:06 | target: http://localhost:8088

2021-11-09 21:55:06 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-11-09 21:55:06 | entity: <data><node>node_2bsx210203</node><entry><content>content_1uci650204</content></entry></data>

2021-11-09 21:55:06 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 10 Nov 2021 05:55:06 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-11-09 21:55:06 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>8085bf3a-2090-4285-a4c5-3322147d84b3</value></item-id></result>

2021-11-09 21:55:06 | contains: true

2021-11-09 21:55:06 | [Mutex] received everything.

2021-11-09 21:55:06 | [Mutex] isItemNotified: user_regularymv7a60202@test-domain.com:message:received:content_1uci650204 :: true

2021-11-09 21:55:06 |


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


2021-11-09 21:55:06 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-11-09 21:55:06 | command: <data><node>node_2bsx210203</node><expire-at>2021-11-10T05:55:01Z</expire-at><entry><content>content_7x614a0205</content></entry></data>

2021-11-09 21:55:06 | target: http://localhost:8088

2021-11-09 21:55:06 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-11-09 21:55:06 | entity: <data><node>node_2bsx210203</node><expire-at>2021-11-10T05:55:01Z</expire-at><entry><content>content_7x614a0205</content></entry></data>

2021-11-09 21:55:06 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 10 Nov 2021 05:55:06 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-11-09 21:55:06 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>5dbba1c5-9fc1-4a04-a4f0-75b96f9335f0</value></item-id></result>

2021-11-09 21:55:06 | contains: true

2021-11-09 21:55:06 | [Mutex] waiting for: [user_regularymv7a60202@test-domain.com:message:received:content_7x614a0205]

2021-11-09 21:55:21 | [Mutex] timeout. Not received [user_regularymv7a60202@test-domain.com:message:received:content_7x614a0205]

2021-11-09 21:55:21 | [Mutex] isItemNotified: user_regularymv7a60202@test-domain.com:message:received:content_7x614a0205 :: false

2021-11-09 21:55:21 |


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


2021-11-09 21:55:21 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-11-09 21:55:21 | command: <data><node>node_2bsx210203</node><entry><content>content_kg1hmw0206</content></entry></data>

2021-11-09 21:55:21 | target: http://localhost:8088

2021-11-09 21:55:21 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-11-09 21:55:21 | entity: <data><node>node_2bsx210203</node><entry><content>content_kg1hmw0206</content></entry></data>

2021-11-09 21:55:21 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 10 Nov 2021 05:55:21 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-11-09 21:55:21 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>c7e05513-b2cf-40a2-87ce-27facfdb8a51</value></item-id></result>

2021-11-09 21:55:21 | contains: true

2021-11-09 21:55:26 | [Mutex] waiting for: [user_regularymv7a60202@test-domain.com:message:received:content_kg1hmw0206]

2021-11-09 21:55:26 | [Mutex] received everything.

2021-11-09 21:55:26 | [Mutex] isItemNotified: user_regularymv7a60202@test-domain.com:message:received:content_kg1hmw0206 :: true

2021-11-09 21:55:26 |


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


2021-11-09 21:55:26 | [Mutex] received everything.

2021-11-09 21:55:26 | [Mutex] isItemNotified: node_2bsx210203:subscribe_node:success :: true

2021-11-09 21:55:26 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-11-09 21:55:26 | command: <data><node>node_2bsx210203</node><expire-at>2021-11-10T05:55:31Z</expire-at><entry><content>content_g0rvub0207</content></entry></data>

2021-11-09 21:55:26 | target: http://localhost:8088

2021-11-09 21:55:26 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-11-09 21:55:26 | entity: <data><node>node_2bsx210203</node><expire-at>2021-11-10T05:55:31Z</expire-at><entry><content>content_g0rvub0207</content></entry></data>

2021-11-09 21:55:26 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 10 Nov 2021 05:55:26 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-11-09 21:55:26 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>e75b6d97-f273-489a-8a51-cb398b5d7aad</value></item-id></result>

2021-11-09 21:55:26 | contains: true

2021-11-09 21:55:35 | [Mutex] waiting for: [user_regularymv7a60202@test-domain.com:message:received:content_g0rvub0207]

2021-11-09 21:55:35 | [Mutex] waiting for: [user_regularymv7a60202@test-domain.com:message:received:content_g0rvub0207]

2021-11-09 21:55:50 | [Mutex] timeout. Not received [user_regularymv7a60202@test-domain.com:message:received:content_g0rvub0207]

2021-11-09 21:55:50 | [Mutex] received everything.

2021-11-09 21:55:50 | [Mutex] isItemNotified: user_regularymv7a60202@test-domain.com:message:received:content_g0rvub0207 :: false

2021-11-09 21:55:50 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_g0rvub0207 :: true