Generated by TestNG with ReportNG at 22:14 PDT on Thursday 30 September 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.023s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.690s
2021-09-30 22:29:55 |

2021-09-30 22:29:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-09-30 22:29:55 | ------------------------------------

2021-09-30 22:29:55 | [Mutex] isItemNotified: node_si3nl10203:exists :: false

2021-09-30 22:29:55 | [Mutex] waiting for: [node_si3nl10203:create_node]

2021-09-30 22:29:55 | [Mutex] received everything.

2021-09-30 22:29:55 | [Mutex] isItemNotified: node_si3nl10203:create_node:success :: true

2021-09-30 22:29:55 | [Mutex] waiting for: [node_si3nl10203:subscribe_node]

2021-09-30 22:29:55 | [Mutex] waiting for: [node_si3nl10203:subscribe_node]

2021-09-30 22:29:55 | [Mutex] received everything.

2021-09-30 22:29:55 | [Mutex] isItemNotified: node_si3nl10203:subscribe_node:success :: true

2021-09-30 22:29:55 |


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


2021-09-30 22:29:55 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-09-30 22:29:55 | command: <data><node>node_si3nl10203</node><entry><content>content_t0rrti0204</content></entry></data>

2021-09-30 22:29:55 | target: http://localhost:8088

2021-09-30 22:29:55 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-09-30 22:29:55 | entity: <data><node>node_si3nl10203</node><entry><content>content_t0rrti0204</content></entry></data>

2021-09-30 22:29:55 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 01 Oct 2021 05:29:55 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-09-30 22:29:55 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>dd80b1e1-58fc-4c0d-b1e3-acfc53887b68</value></item-id></result>

2021-09-30 22:29:55 | contains: true

2021-09-30 22:29:55 | [Mutex] received everything.

2021-09-30 22:29:55 | [Mutex] isItemNotified: user_regularcv5nis0202@test-domain.com:message:received:content_t0rrti0204 :: true

2021-09-30 22:29:55 |


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


2021-09-30 22:29:55 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-09-30 22:29:55 | command: <data><node>node_si3nl10203</node><expire-at>2021-10-01T05:29:50Z</expire-at><entry><content>content_q771rs0205</content></entry></data>

2021-09-30 22:29:55 | target: http://localhost:8088

2021-09-30 22:29:55 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-09-30 22:29:55 | entity: <data><node>node_si3nl10203</node><expire-at>2021-10-01T05:29:50Z</expire-at><entry><content>content_q771rs0205</content></entry></data>

2021-09-30 22:29:55 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 01 Oct 2021 05:29:55 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-09-30 22:29:55 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>998c68a2-d5b4-412e-bf1d-dc4b2b830831</value></item-id></result>

2021-09-30 22:29:55 | contains: true

2021-09-30 22:29:55 | [Mutex] waiting for: [user_regularcv5nis0202@test-domain.com:message:received:content_q771rs0205]

2021-09-30 22:30:10 | [Mutex] timeout. Not received [user_regularcv5nis0202@test-domain.com:message:received:content_q771rs0205]

2021-09-30 22:30:10 | [Mutex] isItemNotified: user_regularcv5nis0202@test-domain.com:message:received:content_q771rs0205 :: false

2021-09-30 22:30:10 |


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


2021-09-30 22:30:10 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-09-30 22:30:10 | command: <data><node>node_si3nl10203</node><entry><content>content_wr7str0206</content></entry></data>

2021-09-30 22:30:10 | target: http://localhost:8088

2021-09-30 22:30:10 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-09-30 22:30:10 | entity: <data><node>node_si3nl10203</node><entry><content>content_wr7str0206</content></entry></data>

2021-09-30 22:30:10 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 01 Oct 2021 05:30:10 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-09-30 22:30:10 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>35d3258c-0364-487e-ac2d-8033d211930e</value></item-id></result>

2021-09-30 22:30:10 | contains: true

2021-09-30 22:30:15 | [Mutex] waiting for: [user_regularcv5nis0202@test-domain.com:message:received:content_wr7str0206]

2021-09-30 22:30:15 | [Mutex] waiting for: [user_regularcv5nis0202@test-domain.com:message:received:content_wr7str0206]

2021-09-30 22:30:15 | [Mutex] received everything.

2021-09-30 22:30:15 | [Mutex] isItemNotified: user_regularcv5nis0202@test-domain.com:message:received:content_wr7str0206 :: true

2021-09-30 22:30:15 |


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


2021-09-30 22:30:15 | [Mutex] received everything.

2021-09-30 22:30:15 | [Mutex] isItemNotified: node_si3nl10203:subscribe_node:success :: true

2021-09-30 22:30:15 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-09-30 22:30:15 | command: <data><node>node_si3nl10203</node><expire-at>2021-10-01T05:30:20Z</expire-at><entry><content>content_g7lwj20207</content></entry></data>

2021-09-30 22:30:15 | target: http://localhost:8088

2021-09-30 22:30:15 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-09-30 22:30:15 | entity: <data><node>node_si3nl10203</node><expire-at>2021-10-01T05:30:20Z</expire-at><entry><content>content_g7lwj20207</content></entry></data>

2021-09-30 22:30:15 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 01 Oct 2021 05:30:15 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-09-30 22:30:15 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>68758d16-356f-49f9-9f6e-355b584ed35b</value></item-id></result>

2021-09-30 22:30:15 | contains: true

2021-09-30 22:30:23 | [Mutex] waiting for: [user_regularcv5nis0202@test-domain.com:message:received:content_g7lwj20207]

2021-09-30 22:30:23 | [Mutex] waiting for: [user_regularcv5nis0202@test-domain.com:message:received:content_g7lwj20207]

2021-09-30 22:30:38 | [Mutex] timeout. Not received [user_regularcv5nis0202@test-domain.com:message:received:content_g7lwj20207]

2021-09-30 22:30:38 | [Mutex] received everything.

2021-09-30 22:30:38 | [Mutex] isItemNotified: user_regularcv5nis0202@test-domain.com:message:received:content_g7lwj20207 :: false

2021-09-30 22:30:38 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_g7lwj20207 :: true