Generated by TestNG with ReportNG at 21:28 PST on Sunday 05 December 2021
root@785cf647a4ab / 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.817s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.797s
2021-12-05 21:43:16 |

2021-12-05 21:43:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-12-05 21:43:16 | ------------------------------------

2021-12-05 21:43:16 | [Mutex] isItemNotified: node_yczoj60203:exists :: false

2021-12-05 21:43:16 | [Mutex] waiting for: [node_yczoj60203:create_node]

2021-12-05 21:43:16 | [Mutex] received everything.

2021-12-05 21:43:16 | [Mutex] isItemNotified: node_yczoj60203:create_node:success :: true

2021-12-05 21:43:16 | [Mutex] waiting for: [node_yczoj60203:subscribe_node]

2021-12-05 21:43:16 | [Mutex] received everything.

2021-12-05 21:43:16 | [Mutex] isItemNotified: node_yczoj60203:subscribe_node:success :: true

2021-12-05 21:43:16 |


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


2021-12-05 21:43:16 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-12-05 21:43:16 | command: <data><node>node_yczoj60203</node><entry><content>content_uaaebs0204</content></entry></data>

2021-12-05 21:43:16 | target: http://localhost:8088

2021-12-05 21:43:16 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-12-05 21:43:16 | entity: <data><node>node_yczoj60203</node><entry><content>content_uaaebs0204</content></entry></data>

2021-12-05 21:43:16 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 06 Dec 2021 05:43:16 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-12-05 21:43:16 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>16f5ed96-8b9d-4cc9-9c90-b40e7a574a2a</value></item-id></result>

2021-12-05 21:43:16 | contains: true

2021-12-05 21:43:16 | [Mutex] received everything.

2021-12-05 21:43:16 | [Mutex] isItemNotified: user_regular3t0yh90202@test-domain.com:message:received:content_uaaebs0204 :: true

2021-12-05 21:43:16 |


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


2021-12-05 21:43:16 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-12-05 21:43:16 | command: <data><node>node_yczoj60203</node><expire-at>2021-12-06T05:43:11Z</expire-at><entry><content>content_wfdh4v0205</content></entry></data>

2021-12-05 21:43:16 | target: http://localhost:8088

2021-12-05 21:43:16 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-12-05 21:43:16 | entity: <data><node>node_yczoj60203</node><expire-at>2021-12-06T05:43:11Z</expire-at><entry><content>content_wfdh4v0205</content></entry></data>

2021-12-05 21:43:16 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 06 Dec 2021 05:43:16 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-12-05 21:43:16 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>3151ed08-539d-473c-8535-5637bbac9d63</value></item-id></result>

2021-12-05 21:43:16 | contains: true

2021-12-05 21:43:16 | [Mutex] waiting for: [user_regular3t0yh90202@test-domain.com:message:received:content_wfdh4v0205]

2021-12-05 21:43:31 | [Mutex] timeout. Not received [user_regular3t0yh90202@test-domain.com:message:received:content_wfdh4v0205]

2021-12-05 21:43:31 | [Mutex] isItemNotified: user_regular3t0yh90202@test-domain.com:message:received:content_wfdh4v0205 :: false

2021-12-05 21:43:31 |


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


2021-12-05 21:43:31 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-12-05 21:43:31 | command: <data><node>node_yczoj60203</node><entry><content>content_hmshif0206</content></entry></data>

2021-12-05 21:43:31 | target: http://localhost:8088

2021-12-05 21:43:31 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-12-05 21:43:31 | entity: <data><node>node_yczoj60203</node><entry><content>content_hmshif0206</content></entry></data>

2021-12-05 21:43:31 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 06 Dec 2021 05:43:31 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-12-05 21:43:31 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>71436e4d-b02b-467a-a509-5ef61ba40175</value></item-id></result>

2021-12-05 21:43:31 | contains: true

2021-12-05 21:43:36 | [Mutex] waiting for: [user_regular3t0yh90202@test-domain.com:message:received:content_hmshif0206]

2021-12-05 21:43:36 | [Mutex] waiting for: [user_regular3t0yh90202@test-domain.com:message:received:content_hmshif0206]

2021-12-05 21:43:36 | [Mutex] received everything.

2021-12-05 21:43:36 | [Mutex] isItemNotified: user_regular3t0yh90202@test-domain.com:message:received:content_hmshif0206 :: true

2021-12-05 21:43:36 |


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


2021-12-05 21:43:36 | [Mutex] received everything.

2021-12-05 21:43:36 | [Mutex] isItemNotified: node_yczoj60203:subscribe_node:success :: true

2021-12-05 21:43:36 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-12-05 21:43:36 | command: <data><node>node_yczoj60203</node><expire-at>2021-12-06T05:43:41Z</expire-at><entry><content>content_28evi0207</content></entry></data>

2021-12-05 21:43:36 | target: http://localhost:8088

2021-12-05 21:43:36 | entity: [Content-Type: application/xml,Content-Length: 135,Chunked: false]

2021-12-05 21:43:36 | entity: <data><node>node_yczoj60203</node><expire-at>2021-12-06T05:43:41Z</expire-at><entry><content>content_28evi0207</content></entry></data>

2021-12-05 21:43:36 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 06 Dec 2021 05:43:36 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-12-05 21:43:36 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>4ffa0f97-c026-49ea-930d-06e9947342b9</value></item-id></result>

2021-12-05 21:43:36 | contains: true

2021-12-05 21:43:45 | [Mutex] waiting for: [user_regular3t0yh90202@test-domain.com:message:received:content_28evi0207]

2021-12-05 21:43:45 | [Mutex] waiting for: [user_regular3t0yh90202@test-domain.com:message:received:content_28evi0207]

2021-12-05 21:44:00 | [Mutex] timeout. Not received [user_regular3t0yh90202@test-domain.com:message:received:content_28evi0207]

2021-12-05 21:44:00 | [Mutex] received everything.

2021-12-05 21:44:00 | [Mutex] isItemNotified: user_regular3t0yh90202@test-domain.com:message:received:content_28evi0207 :: false

2021-12-05 21:44:00 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_28evi0207 :: true