Generated by TestNG with ReportNG at 02:15 PST on Thursday 03 February 2022
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.427s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.691s
2022-02-03 02:30:15 |

2022-02-03 02:30:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-02-03 02:30:15 | ------------------------------------

2022-02-03 02:30:15 | [Mutex] isItemNotified: node_6sgygs0203:exists :: false

2022-02-03 02:30:15 | [Mutex] waiting for: [node_6sgygs0203:create_node]

2022-02-03 02:30:15 | [Mutex] received everything.

2022-02-03 02:30:15 | [Mutex] isItemNotified: node_6sgygs0203:create_node:success :: true

2022-02-03 02:30:15 | [Mutex] waiting for: [node_6sgygs0203:subscribe_node]

2022-02-03 02:30:15 | [Mutex] received everything.

2022-02-03 02:30:15 | [Mutex] isItemNotified: node_6sgygs0203:subscribe_node:success :: true

2022-02-03 02:30:15 |


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


2022-02-03 02:30:15 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-03 02:30:15 | command: <data><node>node_6sgygs0203</node><entry><content>content_78qzwg0204</content></entry></data>

2022-02-03 02:30:15 | target: http://localhost:8088

2022-02-03 02:30:15 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-02-03 02:30:15 | entity: <data><node>node_6sgygs0203</node><entry><content>content_78qzwg0204</content></entry></data>

2022-02-03 02:30:15 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 03 Feb 2022 10:30:15 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-03 02:30:15 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>55790870-847f-4c49-83d6-206678aa3969</value></item-id></result>

2022-02-03 02:30:15 | contains: true

2022-02-03 02:30:15 | [Mutex] received everything.

2022-02-03 02:30:15 | [Mutex] isItemNotified: user_regularf80l8q0202@test-domain.com:message:received:content_78qzwg0204 :: true

2022-02-03 02:30:15 |


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


2022-02-03 02:30:15 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-03 02:30:15 | command: <data><node>node_6sgygs0203</node><expire-at>2022-02-03T10:30:10Z</expire-at><entry><content>content_cguzar0205</content></entry></data>

2022-02-03 02:30:15 | target: http://localhost:8088

2022-02-03 02:30:15 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-02-03 02:30:15 | entity: <data><node>node_6sgygs0203</node><expire-at>2022-02-03T10:30:10Z</expire-at><entry><content>content_cguzar0205</content></entry></data>

2022-02-03 02:30:15 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 03 Feb 2022 10:30:15 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-03 02:30:15 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>5de7379d-4855-463b-8a67-bd1c523fc85d</value></item-id></result>

2022-02-03 02:30:15 | contains: true

2022-02-03 02:30:15 | [Mutex] waiting for: [user_regularf80l8q0202@test-domain.com:message:received:content_cguzar0205]

2022-02-03 02:30:30 | [Mutex] timeout. Not received [user_regularf80l8q0202@test-domain.com:message:received:content_cguzar0205]

2022-02-03 02:30:30 | [Mutex] isItemNotified: user_regularf80l8q0202@test-domain.com:message:received:content_cguzar0205 :: false

2022-02-03 02:30:30 |


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


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

2022-02-03 02:30:30 | command: <data><node>node_6sgygs0203</node><entry><content>content_d5xtvo0206</content></entry></data>

2022-02-03 02:30:30 | target: http://localhost:8088

2022-02-03 02:30:30 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-02-03 02:30:30 | entity: <data><node>node_6sgygs0203</node><entry><content>content_d5xtvo0206</content></entry></data>

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

2022-02-03 02:30:30 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>5bf7aaf0-8167-4514-a588-3edbcf7d480d</value></item-id></result>

2022-02-03 02:30:30 | contains: true

2022-02-03 02:30:35 | [Mutex] waiting for: [user_regularf80l8q0202@test-domain.com:message:received:content_d5xtvo0206]

2022-02-03 02:30:35 | [Mutex] waiting for: [user_regularf80l8q0202@test-domain.com:message:received:content_d5xtvo0206]

2022-02-03 02:30:35 | [Mutex] received everything.

2022-02-03 02:30:35 | [Mutex] isItemNotified: user_regularf80l8q0202@test-domain.com:message:received:content_d5xtvo0206 :: true

2022-02-03 02:30:35 |


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


2022-02-03 02:30:35 | [Mutex] received everything.

2022-02-03 02:30:35 | [Mutex] isItemNotified: node_6sgygs0203:subscribe_node:success :: true

2022-02-03 02:30:35 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-03 02:30:35 | command: <data><node>node_6sgygs0203</node><expire-at>2022-02-03T10:30:40Z</expire-at><entry><content>content_rnn1kq0207</content></entry></data>

2022-02-03 02:30:35 | target: http://localhost:8088

2022-02-03 02:30:35 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-02-03 02:30:35 | entity: <data><node>node_6sgygs0203</node><expire-at>2022-02-03T10:30:40Z</expire-at><entry><content>content_rnn1kq0207</content></entry></data>

2022-02-03 02:30:35 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 03 Feb 2022 10:30:35 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-03 02:30:35 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>11b1885d-78af-44ae-953a-684ecbeefa03</value></item-id></result>

2022-02-03 02:30:35 | contains: true

2022-02-03 02:30:44 | [Mutex] waiting for: [user_regularf80l8q0202@test-domain.com:message:received:content_rnn1kq0207]

2022-02-03 02:30:44 | [Mutex] waiting for: [user_regularf80l8q0202@test-domain.com:message:received:content_rnn1kq0207]

2022-02-03 02:30:44 | [Mutex] waiting for: [user_regularf80l8q0202@test-domain.com:message:received:content_rnn1kq0207]

2022-02-03 02:30:59 | [Mutex] timeout. Not received [user_regularf80l8q0202@test-domain.com:message:received:content_rnn1kq0207]

2022-02-03 02:30:59 | [Mutex] received everything.

2022-02-03 02:30:59 | [Mutex] isItemNotified: user_regularf80l8q0202@test-domain.com:message:received:content_rnn1kq0207 :: false

2022-02-03 02:30:59 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_rnn1kq0207 :: true