Generated by TestNG with ReportNG at 21:13 PST on Wednesday 18 November 2020
root@43fec6d4badf / 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.539s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.680s
2020-11-18 21:29:00 |

2020-11-18 21:29:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-11-18 21:29:00 | ------------------------------------

2020-11-18 21:29:00 | [Mutex] isItemNotified: node_igxj6i0203:exists :: false

2020-11-18 21:29:00 | [Mutex] waiting for: [node_igxj6i0203:create_node]

2020-11-18 21:29:00 | [Mutex] received everything.

2020-11-18 21:29:00 | [Mutex] isItemNotified: node_igxj6i0203:create_node:success :: true

2020-11-18 21:29:00 | [Mutex] waiting for: [node_igxj6i0203:subscribe_node]

2020-11-18 21:29:00 | [Mutex] waiting for: [node_igxj6i0203:subscribe_node]

2020-11-18 21:29:00 | [Mutex] received everything.

2020-11-18 21:29:00 | [Mutex] isItemNotified: node_igxj6i0203:subscribe_node:success :: true

2020-11-18 21:29:00 |


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


2020-11-18 21:29:00 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-11-18 21:29:00 | command: <data><node>node_igxj6i0203</node><entry><content>content_lkqb870204</content></entry></data>

2020-11-18 21:29:00 | target: http://localhost:8088

2020-11-18 21:29:00 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-11-18 21:29:00 | entity: <data><node>node_igxj6i0203</node><entry><content>content_lkqb870204</content></entry></data>

2020-11-18 21:29:00 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 19 Nov 2020 05:29:00 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-11-18 21:29:00 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>ad7a0202-ec46-4bd5-a7fe-b366dcb7013f</value></item-id></result>

2020-11-18 21:29:00 | contains: true

2020-11-18 21:29:00 | [Mutex] waiting for: [user_regularnp3y5i0202@test-domain.com:message:received:content_lkqb870204]

2020-11-18 21:29:00 | [Mutex] received everything.

2020-11-18 21:29:00 | [Mutex] isItemNotified: user_regularnp3y5i0202@test-domain.com:message:received:content_lkqb870204 :: true

2020-11-18 21:29:00 |


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


2020-11-18 21:29:00 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-11-18 21:29:00 | command: <data><node>node_igxj6i0203</node><expire-at>2020-11-19T05:28:55Z</expire-at><entry><content>content_zd9a9c0205</content></entry></data>

2020-11-18 21:29:00 | target: http://localhost:8088

2020-11-18 21:29:00 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-11-18 21:29:00 | entity: <data><node>node_igxj6i0203</node><expire-at>2020-11-19T05:28:55Z</expire-at><entry><content>content_zd9a9c0205</content></entry></data>

2020-11-18 21:29:00 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 19 Nov 2020 05:29:00 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-11-18 21:29:00 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>30026c4e-a2e4-46d0-86df-5f390d010b8c</value></item-id></result>

2020-11-18 21:29:00 | contains: true

2020-11-18 21:29:00 | [Mutex] waiting for: [user_regularnp3y5i0202@test-domain.com:message:received:content_zd9a9c0205]

2020-11-18 21:29:15 | [Mutex] timeout. Not received [user_regularnp3y5i0202@test-domain.com:message:received:content_zd9a9c0205]

2020-11-18 21:29:15 | [Mutex] isItemNotified: user_regularnp3y5i0202@test-domain.com:message:received:content_zd9a9c0205 :: false

2020-11-18 21:29:15 |


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


2020-11-18 21:29:15 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-11-18 21:29:15 | command: <data><node>node_igxj6i0203</node><entry><content>content_t2dr6h0206</content></entry></data>

2020-11-18 21:29:15 | target: http://localhost:8088

2020-11-18 21:29:15 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-11-18 21:29:15 | entity: <data><node>node_igxj6i0203</node><entry><content>content_t2dr6h0206</content></entry></data>

2020-11-18 21:29:15 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 19 Nov 2020 05:29:15 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-11-18 21:29:15 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>5a2f77d2-a006-4f2c-ae8a-0057354405a7</value></item-id></result>

2020-11-18 21:29:15 | contains: true

2020-11-18 21:29:20 | [Mutex] waiting for: [user_regularnp3y5i0202@test-domain.com:message:received:content_t2dr6h0206]

2020-11-18 21:29:20 | [Mutex] waiting for: [user_regularnp3y5i0202@test-domain.com:message:received:content_t2dr6h0206]

2020-11-18 21:29:20 | [Mutex] received everything.

2020-11-18 21:29:20 | [Mutex] isItemNotified: user_regularnp3y5i0202@test-domain.com:message:received:content_t2dr6h0206 :: true

2020-11-18 21:29:20 |


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


2020-11-18 21:29:20 | [Mutex] received everything.

2020-11-18 21:29:20 | [Mutex] isItemNotified: node_igxj6i0203:subscribe_node:success :: true

2020-11-18 21:29:20 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-11-18 21:29:20 | command: <data><node>node_igxj6i0203</node><expire-at>2020-11-19T05:29:25Z</expire-at><entry><content>content_ik3gif0207</content></entry></data>

2020-11-18 21:29:20 | target: http://localhost:8088

2020-11-18 21:29:20 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-11-18 21:29:20 | entity: <data><node>node_igxj6i0203</node><expire-at>2020-11-19T05:29:25Z</expire-at><entry><content>content_ik3gif0207</content></entry></data>

2020-11-18 21:29:20 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 19 Nov 2020 05:29:20 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-11-18 21:29:20 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>f7a6a5fb-1818-43ea-b62c-cf28bfe49234</value></item-id></result>

2020-11-18 21:29:20 | contains: true

2020-11-18 21:29:29 | [Mutex] waiting for: [user_regularnp3y5i0202@test-domain.com:message:received:content_ik3gif0207]

2020-11-18 21:29:44 | [Mutex] timeout. Not received [user_regularnp3y5i0202@test-domain.com:message:received:content_ik3gif0207]

2020-11-18 21:29:44 | [Mutex] received everything.

2020-11-18 21:29:44 | [Mutex] isItemNotified: user_regularnp3y5i0202@test-domain.com:message:received:content_ik3gif0207 :: false

2020-11-18 21:29:44 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_ik3gif0207 :: true