Generated by TestNG with ReportNG at 21:18 PST on Wednesday 16 February 2022
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.142s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.763s
2022-02-16 21:34:30 |

2022-02-16 21:34:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-02-16 21:34:30 | ------------------------------------

2022-02-16 21:34:30 | [Mutex] isItemNotified: node_nxyz520203:exists :: false

2022-02-16 21:34:30 | [Mutex] waiting for: [node_nxyz520203:create_node]

2022-02-16 21:34:30 | [Mutex] received everything.

2022-02-16 21:34:30 | [Mutex] isItemNotified: node_nxyz520203:create_node:success :: true

2022-02-16 21:34:30 | [Mutex] waiting for: [node_nxyz520203:subscribe_node]

2022-02-16 21:34:30 | [Mutex] waiting for: [node_nxyz520203:subscribe_node]

2022-02-16 21:34:30 | [Mutex] received everything.

2022-02-16 21:34:30 | [Mutex] isItemNotified: node_nxyz520203:subscribe_node:success :: true

2022-02-16 21:34:30 |


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


2022-02-16 21:34:30 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-16 21:34:30 | command: <data><node>node_nxyz520203</node><entry><content>content_8jm150204</content></entry></data>

2022-02-16 21:34:30 | target: http://localhost:8088

2022-02-16 21:34:30 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false]

2022-02-16 21:34:30 | entity: <data><node>node_nxyz520203</node><entry><content>content_8jm150204</content></entry></data>

2022-02-16 21:34:30 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 17 Feb 2022 05:34:30 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-16 21:34:30 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>52e35037-0e9e-40f1-bb5a-6da3164f044a</value></item-id></result>

2022-02-16 21:34:30 | contains: true

2022-02-16 21:34:30 | [Mutex] received everything.

2022-02-16 21:34:30 | [Mutex] isItemNotified: user_regularf9cgm0202@test-domain.com:message:received:content_8jm150204 :: true

2022-02-16 21:34:30 |


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


2022-02-16 21:34:30 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-16 21:34:30 | command: <data><node>node_nxyz520203</node><expire-at>2022-02-17T05:34:25Z</expire-at><entry><content>content_dgz43h0205</content></entry></data>

2022-02-16 21:34:30 | target: http://localhost:8088

2022-02-16 21:34:30 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-02-16 21:34:30 | entity: <data><node>node_nxyz520203</node><expire-at>2022-02-17T05:34:25Z</expire-at><entry><content>content_dgz43h0205</content></entry></data>

2022-02-16 21:34:30 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 17 Feb 2022 05:34:30 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-16 21:34:30 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>11a4374a-227c-4bc4-abc0-7c8c19c97a9d</value></item-id></result>

2022-02-16 21:34:30 | contains: true

2022-02-16 21:34:30 | [Mutex] waiting for: [user_regularf9cgm0202@test-domain.com:message:received:content_dgz43h0205]

2022-02-16 21:34:45 | [Mutex] timeout. Not received [user_regularf9cgm0202@test-domain.com:message:received:content_dgz43h0205]

2022-02-16 21:34:45 | [Mutex] isItemNotified: user_regularf9cgm0202@test-domain.com:message:received:content_dgz43h0205 :: false

2022-02-16 21:34:45 |


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


2022-02-16 21:34:45 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-16 21:34:45 | command: <data><node>node_nxyz520203</node><entry><content>content_6ufxbe0206</content></entry></data>

2022-02-16 21:34:45 | target: http://localhost:8088

2022-02-16 21:34:45 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-02-16 21:34:45 | entity: <data><node>node_nxyz520203</node><entry><content>content_6ufxbe0206</content></entry></data>

2022-02-16 21:34:45 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 17 Feb 2022 05:34:45 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-16 21:34:45 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>5b96dd86-df4d-4f82-bd02-41e4085450b9</value></item-id></result>

2022-02-16 21:34:45 | contains: true

2022-02-16 21:34:50 | [Mutex] waiting for: [user_regularf9cgm0202@test-domain.com:message:received:content_6ufxbe0206]

2022-02-16 21:34:50 | [Mutex] received everything.

2022-02-16 21:34:50 | [Mutex] isItemNotified: user_regularf9cgm0202@test-domain.com:message:received:content_6ufxbe0206 :: true

2022-02-16 21:34:50 |


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


2022-02-16 21:34:50 | [Mutex] received everything.

2022-02-16 21:34:50 | [Mutex] isItemNotified: node_nxyz520203:subscribe_node:success :: true

2022-02-16 21:34:51 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-16 21:34:51 | command: <data><node>node_nxyz520203</node><expire-at>2022-02-17T05:34:56Z</expire-at><entry><content>content_vzg5ir0207</content></entry></data>

2022-02-16 21:34:51 | target: http://localhost:8088

2022-02-16 21:34:51 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-02-16 21:34:51 | entity: <data><node>node_nxyz520203</node><expire-at>2022-02-17T05:34:56Z</expire-at><entry><content>content_vzg5ir0207</content></entry></data>

2022-02-16 21:34:51 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 17 Feb 2022 05:34:51 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-16 21:34:51 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>15766f40-3923-470d-a336-43aa6a814057</value></item-id></result>

2022-02-16 21:34:51 | contains: true

2022-02-16 21:34:59 | [Mutex] waiting for: [user_regularf9cgm0202@test-domain.com:message:received:content_vzg5ir0207]

2022-02-16 21:34:59 | [Mutex] waiting for: [user_regularf9cgm0202@test-domain.com:message:received:content_vzg5ir0207]

2022-02-16 21:34:59 | [Mutex] waiting for: [user_regularf9cgm0202@test-domain.com:message:received:content_vzg5ir0207]

2022-02-16 21:35:14 | [Mutex] timeout. Not received [user_regularf9cgm0202@test-domain.com:message:received:content_vzg5ir0207]

2022-02-16 21:35:14 | [Mutex] received everything.

2022-02-16 21:35:14 | [Mutex] isItemNotified: user_regularf9cgm0202@test-domain.com:message:received:content_vzg5ir0207 :: false

2022-02-16 21:35:14 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_vzg5ir0207 :: true