Generated by TestNG with ReportNG at 22:32 PDT on Monday 14 September 2020
root@78ec7f12f637 / 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.153s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.748s
2020-09-14 22:50:24 |

2020-09-14 22:50:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-09-14 22:50:24 | ------------------------------------

2020-09-14 22:50:24 | [Mutex] isItemNotified: node_cu1t950203:exists :: false

2020-09-14 22:50:24 | [Mutex] waiting for: [node_cu1t950203:create_node]

2020-09-14 22:50:24 | [Mutex] received everything.

2020-09-14 22:50:24 | [Mutex] isItemNotified: node_cu1t950203:create_node:success :: true

2020-09-14 22:50:24 | [Mutex] waiting for: [node_cu1t950203:subscribe_node]

2020-09-14 22:50:24 | [Mutex] received everything.

2020-09-14 22:50:24 | [Mutex] isItemNotified: node_cu1t950203:subscribe_node:success :: true

2020-09-14 22:50:24 |


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


2020-09-14 22:50:24 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-14 22:50:24 | command: <data><node>node_cu1t950203</node><entry><content>content_ivblvu0204</content></entry></data>

2020-09-14 22:50:24 | target: http://localhost:8088

2020-09-14 22:50:24 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-09-14 22:50:24 | entity: <data><node>node_cu1t950203</node><entry><content>content_ivblvu0204</content></entry></data>

2020-09-14 22:50:24 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 15 Sep 2020 05:50:24 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-14 22:50:24 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>6ded406c-acd8-42fc-a0e2-05bf0040f6b3</value></item-id></result>

2020-09-14 22:50:24 | contains: true

2020-09-14 22:50:24 | [Mutex] received everything.

2020-09-14 22:50:24 | [Mutex] isItemNotified: user_regular3hodbx0202@test-domain.com:message:received:content_ivblvu0204 :: true

2020-09-14 22:50:24 |


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


2020-09-14 22:50:24 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-14 22:50:24 | command: <data><node>node_cu1t950203</node><expire-at>2020-09-15T05:50:19Z</expire-at><entry><content>content_vyci9e0205</content></entry></data>

2020-09-14 22:50:24 | target: http://localhost:8088

2020-09-14 22:50:24 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-09-14 22:50:24 | entity: <data><node>node_cu1t950203</node><expire-at>2020-09-15T05:50:19Z</expire-at><entry><content>content_vyci9e0205</content></entry></data>

2020-09-14 22:50:24 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 15 Sep 2020 05:50:24 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-14 22:50:24 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>b2a912ee-7b98-46de-a762-d40ca276b088</value></item-id></result>

2020-09-14 22:50:24 | contains: true

2020-09-14 22:50:24 | [Mutex] waiting for: [user_regular3hodbx0202@test-domain.com:message:received:content_vyci9e0205]

2020-09-14 22:50:39 | [Mutex] timeout. Not received [user_regular3hodbx0202@test-domain.com:message:received:content_vyci9e0205]

2020-09-14 22:50:39 | [Mutex] isItemNotified: user_regular3hodbx0202@test-domain.com:message:received:content_vyci9e0205 :: false

2020-09-14 22:50:39 |


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


2020-09-14 22:50:39 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-14 22:50:39 | command: <data><node>node_cu1t950203</node><entry><content>content_ephlgh0206</content></entry></data>

2020-09-14 22:50:39 | target: http://localhost:8088

2020-09-14 22:50:39 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-09-14 22:50:39 | entity: <data><node>node_cu1t950203</node><entry><content>content_ephlgh0206</content></entry></data>

2020-09-14 22:50:39 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 15 Sep 2020 05:50:39 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-14 22:50:39 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>1de60b84-723a-40c5-b468-6a4704b0b02b</value></item-id></result>

2020-09-14 22:50:39 | contains: true

2020-09-14 22:50:44 | [Mutex] waiting for: [user_regular3hodbx0202@test-domain.com:message:received:content_ephlgh0206]

2020-09-14 22:50:44 | [Mutex] received everything.

2020-09-14 22:50:44 | [Mutex] isItemNotified: user_regular3hodbx0202@test-domain.com:message:received:content_ephlgh0206 :: true

2020-09-14 22:50:44 |


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


2020-09-14 22:50:44 | [Mutex] received everything.

2020-09-14 22:50:44 | [Mutex] isItemNotified: node_cu1t950203:subscribe_node:success :: true

2020-09-14 22:50:44 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-14 22:50:44 | command: <data><node>node_cu1t950203</node><expire-at>2020-09-15T05:50:49Z</expire-at><entry><content>content_fxfa0q0207</content></entry></data>

2020-09-14 22:50:44 | target: http://localhost:8088

2020-09-14 22:50:44 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-09-14 22:50:44 | entity: <data><node>node_cu1t950203</node><expire-at>2020-09-15T05:50:49Z</expire-at><entry><content>content_fxfa0q0207</content></entry></data>

2020-09-14 22:50:44 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 15 Sep 2020 05:50:44 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-14 22:50:44 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>f7fa9591-f7ae-41d0-a7f1-18a2ab69ffff</value></item-id></result>

2020-09-14 22:50:44 | contains: true

2020-09-14 22:50:52 | [Mutex] waiting for: [user_regular3hodbx0202@test-domain.com:message:received:content_fxfa0q0207]

2020-09-14 22:50:52 | [Mutex] waiting for: [user_regular3hodbx0202@test-domain.com:message:received:content_fxfa0q0207]

2020-09-14 22:51:07 | [Mutex] timeout. Not received [user_regular3hodbx0202@test-domain.com:message:received:content_fxfa0q0207]

2020-09-14 22:51:07 | [Mutex] received everything.

2020-09-14 22:51:07 | [Mutex] isItemNotified: user_regular3hodbx0202@test-domain.com:message:received:content_fxfa0q0207 :: false

2020-09-14 22:51:07 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_fxfa0q0207 :: true