Generated by TestNG with ReportNG at 21:50 PST on Sunday 13 November 2022
root@ed1b7dd8a1b3 / Java 17.0.2 (Private Build) / Linux 4.14.281-212.502.amzn2.x86_64 (amd64)

REST: Item publication on PubSub node with message expiration using REST API - #2959

Suites · Log Output

Test duration : 44.455s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.627s
2022-11-13 22:06:42 |

2022-11-13 22:06:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-11-13 22:06:42 | ------------------------------------

2022-11-13 22:06:42 | [Mutex] isItemNotified: node_389m1u0204:exists :: false

2022-11-13 22:06:42 | [Mutex] waiting for: [node_389m1u0204:create_node]

2022-11-13 22:06:42 | [Mutex] received everything.

2022-11-13 22:06:42 | [Mutex] isItemNotified: node_389m1u0204:create_node:success :: true

2022-11-13 22:06:42 | [Mutex] waiting for: [node_389m1u0204:subscribe_node]

2022-11-13 22:06:42 | [Mutex] waiting for: [node_389m1u0204:subscribe_node]

2022-11-13 22:06:42 | [Mutex] received everything.

2022-11-13 22:06:42 | [Mutex] isItemNotified: node_389m1u0204:subscribe_node:success :: true

2022-11-13 22:06:42 |


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


2022-11-13 22:06:42 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-11-13 22:06:42 | command: <data><node>node_389m1u0204</node><entry><content>content_4tt10u0205</content></entry></data>

2022-11-13 22:06:42 | target: http://localhost:8088

2022-11-13 22:06:42 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-11-13 22:06:42 | entity: <data><node>node_389m1u0204</node><entry><content>content_4tt10u0205</content></entry></data>

2022-11-13 22:06:42 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 14 Nov 2022 06:06:42 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-11-13 22:06:42 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>7180af77-af2e-4620-a5ab-94ffc2215f3a</value></item-id></result>

2022-11-13 22:06:42 | contains: true

2022-11-13 22:06:42 | [Mutex] waiting for: [user_regularbu6avl0203@test-domain.com:message:received:content_4tt10u0205]

2022-11-13 22:06:42 | [Mutex] received everything.

2022-11-13 22:06:42 | [Mutex] isItemNotified: user_regularbu6avl0203@test-domain.com:message:received:content_4tt10u0205 :: true

2022-11-13 22:06:42 |


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


2022-11-13 22:06:42 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-11-13 22:06:42 | command: <data><node>node_389m1u0204</node><expire-at>2022-11-14T06:06:37Z</expire-at><entry><content>content_e071s70206</content></entry></data>

2022-11-13 22:06:42 | target: http://localhost:8088

2022-11-13 22:06:42 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-11-13 22:06:42 | entity: <data><node>node_389m1u0204</node><expire-at>2022-11-14T06:06:37Z</expire-at><entry><content>content_e071s70206</content></entry></data>

2022-11-13 22:06:42 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 14 Nov 2022 06:06:42 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-11-13 22:06:42 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d0aca379-f8c1-4a85-85e9-8f4bf8dd963b</value></item-id></result>

2022-11-13 22:06:42 | contains: true

2022-11-13 22:06:42 | [Mutex] waiting for: [user_regularbu6avl0203@test-domain.com:message:received:content_e071s70206]

2022-11-13 22:06:57 | [Mutex] timeout. Not received [user_regularbu6avl0203@test-domain.com:message:received:content_e071s70206]

2022-11-13 22:06:57 | [Mutex] isItemNotified: user_regularbu6avl0203@test-domain.com:message:received:content_e071s70206 :: false

2022-11-13 22:06:57 |


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


2022-11-13 22:06:57 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-11-13 22:06:57 | command: <data><node>node_389m1u0204</node><entry><content>content_ylttvx0207</content></entry></data>

2022-11-13 22:06:57 | target: http://localhost:8088

2022-11-13 22:06:57 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-11-13 22:06:57 | entity: <data><node>node_389m1u0204</node><entry><content>content_ylttvx0207</content></entry></data>

2022-11-13 22:06:57 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 14 Nov 2022 06:06:57 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-11-13 22:06:57 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>92522cd2-e2ce-425b-ba72-47b0c304ae8c</value></item-id></result>

2022-11-13 22:06:57 | contains: true

2022-11-13 22:07:02 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-11-13 22:07:02 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222

2022-11-13 22:07:02 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-11-13 22:07:02 | [Mutex] waiting for: [user_regularbu6avl0203@test-domain.com:message:received:content_ylttvx0207]

2022-11-13 22:07:02 | [Mutex] received everything.

2022-11-13 22:07:02 | [Mutex] isItemNotified: user_regularbu6avl0203@test-domain.com:message:received:content_ylttvx0207 :: true

2022-11-13 22:07:02 |


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


2022-11-13 22:07:02 | [Mutex] received everything.

2022-11-13 22:07:02 | [Mutex] isItemNotified: node_389m1u0204:subscribe_node:success :: true

2022-11-13 22:07:02 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-11-13 22:07:02 | command: <data><node>node_389m1u0204</node><expire-at>2022-11-14T06:07:07Z</expire-at><entry><content>content_sxicfd0208</content></entry></data>

2022-11-13 22:07:02 | target: http://localhost:8088

2022-11-13 22:07:02 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-11-13 22:07:02 | entity: <data><node>node_389m1u0204</node><expire-at>2022-11-14T06:07:07Z</expire-at><entry><content>content_sxicfd0208</content></entry></data>

2022-11-13 22:07:02 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 14 Nov 2022 06:07:02 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-11-13 22:07:02 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>93c90ad2-71a3-4563-aeef-130f6ef9e943</value></item-id></result>

2022-11-13 22:07:02 | contains: true

2022-11-13 22:07:10 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-11-13 22:07:10 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222

2022-11-13 22:07:10 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-11-13 22:07:10 | [Mutex] waiting for: [user_regularbu6avl0203@test-domain.com:message:received:content_sxicfd0208]

2022-11-13 22:07:10 | [Mutex] waiting for: [user_regularbu6avl0203@test-domain.com:message:received:content_sxicfd0208]

2022-11-13 22:07:25 | [Mutex] timeout. Not received [user_regularbu6avl0203@test-domain.com:message:received:content_sxicfd0208]

2022-11-13 22:07:25 | [Mutex] received everything.

2022-11-13 22:07:25 | [Mutex] isItemNotified: user_regularbu6avl0203@test-domain.com:message:received:content_sxicfd0208 :: false

2022-11-13 22:07:25 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_sxicfd0208 :: true