Generated by TestNG with ReportNG at 21:13 PST on Tuesday 03 November 2020
root@eaa73862192b / 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.185s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.721s
2020-11-03 21:31:28 |

2020-11-03 21:31:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-11-03 21:31:28 | ------------------------------------

2020-11-03 21:31:28 | [Mutex] isItemNotified: node_ftv14u0203:exists :: false

2020-11-03 21:31:28 | [Mutex] waiting for: [node_ftv14u0203:create_node]

2020-11-03 21:31:28 | [Mutex] received everything.

2020-11-03 21:31:28 | [Mutex] isItemNotified: node_ftv14u0203:create_node:success :: true

2020-11-03 21:31:28 | [Mutex] waiting for: [node_ftv14u0203:subscribe_node]

2020-11-03 21:31:28 | [Mutex] waiting for: [node_ftv14u0203:subscribe_node]

2020-11-03 21:31:28 | [Mutex] received everything.

2020-11-03 21:31:28 | [Mutex] isItemNotified: node_ftv14u0203:subscribe_node:success :: true

2020-11-03 21:31:28 |


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


2020-11-03 21:31:28 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-11-03 21:31:28 | command: <data><node>node_ftv14u0203</node><entry><content>content_762fp10204</content></entry></data>

2020-11-03 21:31:28 | target: http://localhost:8088

2020-11-03 21:31:28 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-11-03 21:31:28 | entity: <data><node>node_ftv14u0203</node><entry><content>content_762fp10204</content></entry></data>

2020-11-03 21:31:28 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 04 Nov 2020 05:31:28 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-11-03 21:31:28 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>d0d2aa5d-458a-4267-9917-d7a0d0c08aaa</value></item-id></result>

2020-11-03 21:31:28 | contains: true

2020-11-03 21:31:28 | [Mutex] received everything.

2020-11-03 21:31:28 | [Mutex] isItemNotified: user_regularl56pg50202@test-domain.com:message:received:content_762fp10204 :: true

2020-11-03 21:31:28 |


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


2020-11-03 21:31:28 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-11-03 21:31:28 | command: <data><node>node_ftv14u0203</node><expire-at>2020-11-04T05:31:23Z</expire-at><entry><content>content_n30ifl0205</content></entry></data>

2020-11-03 21:31:28 | target: http://localhost:8088

2020-11-03 21:31:28 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-11-03 21:31:28 | entity: <data><node>node_ftv14u0203</node><expire-at>2020-11-04T05:31:23Z</expire-at><entry><content>content_n30ifl0205</content></entry></data>

2020-11-03 21:31:28 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 04 Nov 2020 05:31:28 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-11-03 21:31:28 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>c78316be-0f61-4bdd-a6ca-d169b9ff5461</value></item-id></result>

2020-11-03 21:31:28 | contains: true

2020-11-03 21:31:28 | [Mutex] waiting for: [user_regularl56pg50202@test-domain.com:message:received:content_n30ifl0205]

2020-11-03 21:31:43 | [Mutex] timeout. Not received [user_regularl56pg50202@test-domain.com:message:received:content_n30ifl0205]

2020-11-03 21:31:43 | [Mutex] isItemNotified: user_regularl56pg50202@test-domain.com:message:received:content_n30ifl0205 :: false

2020-11-03 21:31:43 |


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


2020-11-03 21:31:43 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-11-03 21:31:43 | command: <data><node>node_ftv14u0203</node><entry><content>content_3jxk5t0206</content></entry></data>

2020-11-03 21:31:43 | target: http://localhost:8088

2020-11-03 21:31:43 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-11-03 21:31:43 | entity: <data><node>node_ftv14u0203</node><entry><content>content_3jxk5t0206</content></entry></data>

2020-11-03 21:31:43 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 04 Nov 2020 05:31:43 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-11-03 21:31:43 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>e1589a81-7109-407a-8c75-409317607022</value></item-id></result>

2020-11-03 21:31:43 | contains: true

2020-11-03 21:31:48 | [Mutex] waiting for: [user_regularl56pg50202@test-domain.com:message:received:content_3jxk5t0206]

2020-11-03 21:31:48 | [Mutex] received everything.

2020-11-03 21:31:48 | [Mutex] isItemNotified: user_regularl56pg50202@test-domain.com:message:received:content_3jxk5t0206 :: true

2020-11-03 21:31:48 |


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


2020-11-03 21:31:48 | [Mutex] received everything.

2020-11-03 21:31:48 | [Mutex] isItemNotified: node_ftv14u0203:subscribe_node:success :: true

2020-11-03 21:31:48 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-11-03 21:31:48 | command: <data><node>node_ftv14u0203</node><expire-at>2020-11-04T05:31:53Z</expire-at><entry><content>content_m8bbpd0207</content></entry></data>

2020-11-03 21:31:48 | target: http://localhost:8088

2020-11-03 21:31:48 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-11-03 21:31:48 | entity: <data><node>node_ftv14u0203</node><expire-at>2020-11-04T05:31:53Z</expire-at><entry><content>content_m8bbpd0207</content></entry></data>

2020-11-03 21:31:48 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 04 Nov 2020 05:31:48 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-11-03 21:31:48 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>298b778d-1084-409a-bf6a-a5797e089bd8</value></item-id></result>

2020-11-03 21:31:48 | contains: true

2020-11-03 21:31:56 | [Mutex] waiting for: [user_regularl56pg50202@test-domain.com:message:received:content_m8bbpd0207]

2020-11-03 21:31:56 | [Mutex] waiting for: [user_regularl56pg50202@test-domain.com:message:received:content_m8bbpd0207]

2020-11-03 21:32:11 | [Mutex] timeout. Not received [user_regularl56pg50202@test-domain.com:message:received:content_m8bbpd0207]

2020-11-03 21:32:11 | [Mutex] received everything.

2020-11-03 21:32:11 | [Mutex] isItemNotified: user_regularl56pg50202@test-domain.com:message:received:content_m8bbpd0207 :: false

2020-11-03 21:32:11 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_m8bbpd0207 :: true