Generated by TestNG with ReportNG at 22:23 PDT on Sunday 22 May 2022
root@1bc69cf4cb94 / Java 17.0.2 (Private Build) / 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 : 44.844s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.614s
2022-05-22 22:39:02 |

2022-05-22 22:39:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-05-22 22:39:02 | ------------------------------------

2022-05-22 22:39:02 | [Mutex] isItemNotified: node_umptfq0204:exists :: false

2022-05-22 22:39:02 | [Mutex] waiting for: [node_umptfq0204:create_node]

2022-05-22 22:39:02 | [Mutex] waiting for: [node_umptfq0204:create_node]

2022-05-22 22:39:02 | [Mutex] received everything.

2022-05-22 22:39:02 | [Mutex] isItemNotified: node_umptfq0204:create_node:success :: true

2022-05-22 22:39:02 | [Mutex] waiting for: [node_umptfq0204:subscribe_node]

2022-05-22 22:39:02 | [Mutex] waiting for: [node_umptfq0204:subscribe_node]

2022-05-22 22:39:02 | [Mutex] received everything.

2022-05-22 22:39:02 | [Mutex] isItemNotified: node_umptfq0204:subscribe_node:success :: true

2022-05-22 22:39:02 |


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


2022-05-22 22:39:02 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-05-22 22:39:02 | command: <data><node>node_umptfq0204</node><entry><content>content_yjkegp0205</content></entry></data>

2022-05-22 22:39:02 | target: http://localhost:8088

2022-05-22 22:39:02 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-05-22 22:39:02 | entity: <data><node>node_umptfq0204</node><entry><content>content_yjkegp0205</content></entry></data>

2022-05-22 22:39:02 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 23 May 2022 05:39:02 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-05-22 22:39:02 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>e765319c-b9f0-4bbe-b517-cce9a3f0c05c</value></item-id></result>

2022-05-22 22:39:02 | contains: true

2022-05-22 22:39:02 | [Mutex] waiting for: [user_regularh034wl0203@test-domain.com:message:received:content_yjkegp0205]

2022-05-22 22:39:02 | [Mutex] received everything.

2022-05-22 22:39:02 | [Mutex] isItemNotified: user_regularh034wl0203@test-domain.com:message:received:content_yjkegp0205 :: true

2022-05-22 22:39:02 |


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


2022-05-22 22:39:02 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-05-22 22:39:02 | command: <data><node>node_umptfq0204</node><expire-at>2022-05-23T05:38:57Z</expire-at><entry><content>content_z24dd10206</content></entry></data>

2022-05-22 22:39:02 | target: http://localhost:8088

2022-05-22 22:39:02 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-05-22 22:39:02 | entity: <data><node>node_umptfq0204</node><expire-at>2022-05-23T05:38:57Z</expire-at><entry><content>content_z24dd10206</content></entry></data>

2022-05-22 22:39:02 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 23 May 2022 05:39:02 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-05-22 22:39:02 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>50834f51-1edb-4765-9148-b154e74114d5</value></item-id></result>

2022-05-22 22:39:02 | contains: true

2022-05-22 22:39:02 | [Mutex] waiting for: [user_regularh034wl0203@test-domain.com:message:received:content_z24dd10206]

2022-05-22 22:39:17 | [Mutex] timeout. Not received [user_regularh034wl0203@test-domain.com:message:received:content_z24dd10206]

2022-05-22 22:39:17 | [Mutex] isItemNotified: user_regularh034wl0203@test-domain.com:message:received:content_z24dd10206 :: false

2022-05-22 22:39:17 |


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


2022-05-22 22:39:17 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-05-22 22:39:17 | command: <data><node>node_umptfq0204</node><entry><content>content_w2q00f0207</content></entry></data>

2022-05-22 22:39:17 | target: http://localhost:8088

2022-05-22 22:39:17 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-05-22 22:39:17 | entity: <data><node>node_umptfq0204</node><entry><content>content_w2q00f0207</content></entry></data>

2022-05-22 22:39:17 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 23 May 2022 05:39:17 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-05-22 22:39:17 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d096d867-38f9-4301-8753-56e53c059330</value></item-id></result>

2022-05-22 22:39:17 | contains: true

2022-05-22 22:39:22 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-05-22 22:39:23 | [Mutex] waiting for: [user_regularh034wl0203@test-domain.com:message:received:content_w2q00f0207]

2022-05-22 22:39:23 | [Mutex] waiting for: [user_regularh034wl0203@test-domain.com:message:received:content_w2q00f0207]

2022-05-22 22:39:23 | [Mutex] received everything.

2022-05-22 22:39:23 | [Mutex] isItemNotified: user_regularh034wl0203@test-domain.com:message:received:content_w2q00f0207 :: true

2022-05-22 22:39:23 |


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


2022-05-22 22:39:23 | [Mutex] received everything.

2022-05-22 22:39:23 | [Mutex] isItemNotified: node_umptfq0204:subscribe_node:success :: true

2022-05-22 22:39:23 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-05-22 22:39:23 | command: <data><node>node_umptfq0204</node><expire-at>2022-05-23T05:39:28Z</expire-at><entry><content>content_9ajios0208</content></entry></data>

2022-05-22 22:39:23 | target: http://localhost:8088

2022-05-22 22:39:23 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-05-22 22:39:23 | entity: <data><node>node_umptfq0204</node><expire-at>2022-05-23T05:39:28Z</expire-at><entry><content>content_9ajios0208</content></entry></data>

2022-05-22 22:39:23 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 23 May 2022 05:39:23 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-05-22 22:39:23 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>ed3f353c-0228-49e3-860c-e92e7ba8c43b</value></item-id></result>

2022-05-22 22:39:23 | contains: true

2022-05-22 22:39:31 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

2022-05-22 22:39:31 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-05-22 22:39:31 | [Mutex] waiting for: [user_regularh034wl0203@test-domain.com:message:received:content_9ajios0208]

2022-05-22 22:39:31 | [Mutex] waiting for: [user_regularh034wl0203@test-domain.com:message:received:content_9ajios0208]

2022-05-22 22:39:31 | [Mutex] waiting for: [user_regularh034wl0203@test-domain.com:message:received:content_9ajios0208]

2022-05-22 22:39:46 | [Mutex] timeout. Not received [user_regularh034wl0203@test-domain.com:message:received:content_9ajios0208]

2022-05-22 22:39:46 | [Mutex] received everything.

2022-05-22 22:39:46 | [Mutex] isItemNotified: user_regularh034wl0203@test-domain.com:message:received:content_9ajios0208 :: false

2022-05-22 22:39:46 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_9ajios0208 :: true