Generated by TestNG with ReportNG at 22:50 PDT on Monday 27 June 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.786s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.557s
2022-06-27 23:04:19 |

2022-06-27 23:04:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-06-27 23:04:19 | ------------------------------------

2022-06-27 23:04:19 | [Mutex] isItemNotified: node_2pkczr0204:exists :: false

2022-06-27 23:04:19 | [Mutex] waiting for: [node_2pkczr0204:create_node]

2022-06-27 23:04:19 | [Mutex] received everything.

2022-06-27 23:04:19 | [Mutex] isItemNotified: node_2pkczr0204:create_node:success :: true

2022-06-27 23:04:19 | [Mutex] waiting for: [node_2pkczr0204:subscribe_node]

2022-06-27 23:04:19 | [Mutex] waiting for: [node_2pkczr0204:subscribe_node]

2022-06-27 23:04:19 | [Mutex] received everything.

2022-06-27 23:04:19 | [Mutex] isItemNotified: node_2pkczr0204:subscribe_node:success :: true

2022-06-27 23:04:19 |


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


2022-06-27 23:04:19 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-06-27 23:04:19 | command: <data><node>node_2pkczr0204</node><entry><content>content_yd3myw0205</content></entry></data>

2022-06-27 23:04:19 | target: http://localhost:8088

2022-06-27 23:04:19 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-06-27 23:04:19 | entity: <data><node>node_2pkczr0204</node><entry><content>content_yd3myw0205</content></entry></data>

2022-06-27 23:04:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 28 Jun 2022 06:04:19 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-06-27 23:04:19 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d64d3540-23ff-4b6b-9595-1425b03f8e10</value></item-id></result>

2022-06-27 23:04:19 | contains: true

2022-06-27 23:04:19 | [Mutex] waiting for: [user_regular98zgwg0203@test-domain.com:message:received:content_yd3myw0205]

2022-06-27 23:04:19 | [Mutex] received everything.

2022-06-27 23:04:19 | [Mutex] isItemNotified: user_regular98zgwg0203@test-domain.com:message:received:content_yd3myw0205 :: true

2022-06-27 23:04:19 |


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


2022-06-27 23:04:19 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-06-27 23:04:19 | command: <data><node>node_2pkczr0204</node><expire-at>2022-06-28T06:04:14Z</expire-at><entry><content>content_9k3pj20206</content></entry></data>

2022-06-27 23:04:19 | target: http://localhost:8088

2022-06-27 23:04:19 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-06-27 23:04:19 | entity: <data><node>node_2pkczr0204</node><expire-at>2022-06-28T06:04:14Z</expire-at><entry><content>content_9k3pj20206</content></entry></data>

2022-06-27 23:04:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 28 Jun 2022 06:04:19 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-06-27 23:04:19 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>541ab4da-8367-40fa-9be1-f6a822e95d42</value></item-id></result>

2022-06-27 23:04:19 | contains: true

2022-06-27 23:04:19 | [Mutex] waiting for: [user_regular98zgwg0203@test-domain.com:message:received:content_9k3pj20206]

2022-06-27 23:04:34 | [Mutex] timeout. Not received [user_regular98zgwg0203@test-domain.com:message:received:content_9k3pj20206]

2022-06-27 23:04:34 | [Mutex] isItemNotified: user_regular98zgwg0203@test-domain.com:message:received:content_9k3pj20206 :: false

2022-06-27 23:04:34 |


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


2022-06-27 23:04:34 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-06-27 23:04:34 | command: <data><node>node_2pkczr0204</node><entry><content>content_8qe0y80207</content></entry></data>

2022-06-27 23:04:34 | target: http://localhost:8088

2022-06-27 23:04:34 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-06-27 23:04:34 | entity: <data><node>node_2pkczr0204</node><entry><content>content_8qe0y80207</content></entry></data>

2022-06-27 23:04:34 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 28 Jun 2022 06:04:34 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-06-27 23:04:34 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>00f0eb2a-b9c2-4501-aab8-a959ff42fb99</value></item-id></result>

2022-06-27 23:04:34 | contains: true

2022-06-27 23:04:39 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-06-27 23:04:39 | [Mutex] waiting for: [user_regular98zgwg0203@test-domain.com:message:received:content_8qe0y80207]

2022-06-27 23:04:39 | [Mutex] waiting for: [user_regular98zgwg0203@test-domain.com:message:received:content_8qe0y80207]

2022-06-27 23:04:39 | [Mutex] received everything.

2022-06-27 23:04:39 | [Mutex] isItemNotified: user_regular98zgwg0203@test-domain.com:message:received:content_8qe0y80207 :: true

2022-06-27 23:04:39 |


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


2022-06-27 23:04:39 | [Mutex] received everything.

2022-06-27 23:04:39 | [Mutex] isItemNotified: node_2pkczr0204:subscribe_node:success :: true

2022-06-27 23:04:39 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-06-27 23:04:39 | command: <data><node>node_2pkczr0204</node><expire-at>2022-06-28T06:04:44Z</expire-at><entry><content>content_bdaf0q0208</content></entry></data>

2022-06-27 23:04:39 | target: http://localhost:8088

2022-06-27 23:04:39 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-06-27 23:04:39 | entity: <data><node>node_2pkczr0204</node><expire-at>2022-06-28T06:04:44Z</expire-at><entry><content>content_bdaf0q0208</content></entry></data>

2022-06-27 23:04:40 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 28 Jun 2022 06:04:40 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-06-27 23:04:40 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>5c46d4a5-9584-4b68-b5d3-db662e39d1a1</value></item-id></result>

2022-06-27 23:04:40 | contains: true

2022-06-27 23:04:48 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-06-27 23:04:48 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222

2022-06-27 23:04:48 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-06-27 23:04:48 | [Mutex] waiting for: [user_regular98zgwg0203@test-domain.com:message:received:content_bdaf0q0208]

2022-06-27 23:04:48 | [Mutex] waiting for: [user_regular98zgwg0203@test-domain.com:message:received:content_bdaf0q0208]

2022-06-27 23:05:03 | [Mutex] timeout. Not received [user_regular98zgwg0203@test-domain.com:message:received:content_bdaf0q0208]

2022-06-27 23:05:03 | [Mutex] received everything.

2022-06-27 23:05:03 | [Mutex] isItemNotified: user_regular98zgwg0203@test-domain.com:message:received:content_bdaf0q0208 :: false

2022-06-27 23:05:03 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_bdaf0q0208 :: true