Generated by TestNG with ReportNG at 22:18 PDT on Saturday 25 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.491s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.574s
2022-06-25 22:32:27 |

2022-06-25 22:32:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-06-25 22:32:27 | ------------------------------------

2022-06-25 22:32:27 | [Mutex] isItemNotified: node_4yvh7x0204:exists :: false

2022-06-25 22:32:27 | [Mutex] waiting for: [node_4yvh7x0204:create_node]

2022-06-25 22:32:27 | [Mutex] received everything.

2022-06-25 22:32:27 | [Mutex] isItemNotified: node_4yvh7x0204:create_node:success :: true

2022-06-25 22:32:27 | [Mutex] waiting for: [node_4yvh7x0204:subscribe_node]

2022-06-25 22:32:27 | [Mutex] waiting for: [node_4yvh7x0204:subscribe_node]

2022-06-25 22:32:27 | [Mutex] received everything.

2022-06-25 22:32:27 | [Mutex] isItemNotified: node_4yvh7x0204:subscribe_node:success :: true

2022-06-25 22:32:27 |


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


2022-06-25 22:32:27 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-06-25 22:32:27 | command: <data><node>node_4yvh7x0204</node><entry><content>content_csvdaf0205</content></entry></data>

2022-06-25 22:32:27 | target: http://localhost:8088

2022-06-25 22:32:27 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-06-25 22:32:27 | entity: <data><node>node_4yvh7x0204</node><entry><content>content_csvdaf0205</content></entry></data>

2022-06-25 22:32:27 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 26 Jun 2022 05:32:27 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-06-25 22:32:27 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>e3b49b2d-51c6-4832-9cdc-4f2a06da6821</value></item-id></result>

2022-06-25 22:32:27 | contains: true

2022-06-25 22:32:27 | [Mutex] received everything.

2022-06-25 22:32:27 | [Mutex] isItemNotified: user_regularle2hg40203@test-domain.com:message:received:content_csvdaf0205 :: true

2022-06-25 22:32:27 |


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


2022-06-25 22:32:27 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-06-25 22:32:27 | command: <data><node>node_4yvh7x0204</node><expire-at>2022-06-26T05:32:22Z</expire-at><entry><content>content_cqi2m50206</content></entry></data>

2022-06-25 22:32:27 | target: http://localhost:8088

2022-06-25 22:32:27 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-06-25 22:32:27 | entity: <data><node>node_4yvh7x0204</node><expire-at>2022-06-26T05:32:22Z</expire-at><entry><content>content_cqi2m50206</content></entry></data>

2022-06-25 22:32:27 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 26 Jun 2022 05:32:27 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-06-25 22:32:27 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>5053b2d0-fccb-441c-b070-80b9cd7eae6a</value></item-id></result>

2022-06-25 22:32:27 | contains: true

2022-06-25 22:32:27 | [Mutex] waiting for: [user_regularle2hg40203@test-domain.com:message:received:content_cqi2m50206]

2022-06-25 22:32:42 | [Mutex] timeout. Not received [user_regularle2hg40203@test-domain.com:message:received:content_cqi2m50206]

2022-06-25 22:32:42 | [Mutex] isItemNotified: user_regularle2hg40203@test-domain.com:message:received:content_cqi2m50206 :: false

2022-06-25 22:32:42 |


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


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

2022-06-25 22:32:42 | command: <data><node>node_4yvh7x0204</node><entry><content>content_dqrce20207</content></entry></data>

2022-06-25 22:32:42 | target: http://localhost:8088

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

2022-06-25 22:32:42 | entity: <data><node>node_4yvh7x0204</node><entry><content>content_dqrce20207</content></entry></data>

2022-06-25 22:32:42 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 26 Jun 2022 05:32:42 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-06-25 22:32:42 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>47fc763c-c7db-4764-92ba-0e34342264c3</value></item-id></result>

2022-06-25 22:32:42 | contains: true

2022-06-25 22:32:47 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-06-25 22:32:48 | [Mutex] waiting for: [user_regularle2hg40203@test-domain.com:message:received:content_dqrce20207]

2022-06-25 22:32:48 | [Mutex] waiting for: [user_regularle2hg40203@test-domain.com:message:received:content_dqrce20207]

2022-06-25 22:32:48 | [Mutex] received everything.

2022-06-25 22:32:48 | [Mutex] isItemNotified: user_regularle2hg40203@test-domain.com:message:received:content_dqrce20207 :: true

2022-06-25 22:32:48 |


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


2022-06-25 22:32:48 | [Mutex] received everything.

2022-06-25 22:32:48 | [Mutex] isItemNotified: node_4yvh7x0204:subscribe_node:success :: true

2022-06-25 22:32:48 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-06-25 22:32:48 | command: <data><node>node_4yvh7x0204</node><expire-at>2022-06-26T05:32:53Z</expire-at><entry><content>content_wgmzk80208</content></entry></data>

2022-06-25 22:32:48 | target: http://localhost:8088

2022-06-25 22:32:48 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-06-25 22:32:48 | entity: <data><node>node_4yvh7x0204</node><expire-at>2022-06-26T05:32:53Z</expire-at><entry><content>content_wgmzk80208</content></entry></data>

2022-06-25 22:32:48 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 26 Jun 2022 05:32:48 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-06-25 22:32:48 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>f37639be-badc-4b8b-8eca-34d797d6feab</value></item-id></result>

2022-06-25 22:32:48 | contains: true

2022-06-25 22:32:56 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

2022-06-25 22:32:56 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-06-25 22:32:56 | [Mutex] waiting for: [user_regularle2hg40203@test-domain.com:message:received:content_wgmzk80208]

2022-06-25 22:32:56 | [Mutex] waiting for: [user_regularle2hg40203@test-domain.com:message:received:content_wgmzk80208]

2022-06-25 22:32:56 | [Mutex] waiting for: [user_regularle2hg40203@test-domain.com:message:received:content_wgmzk80208]

2022-06-25 22:33:11 | [Mutex] timeout. Not received [user_regularle2hg40203@test-domain.com:message:received:content_wgmzk80208]

2022-06-25 22:33:11 | [Mutex] received everything.

2022-06-25 22:33:11 | [Mutex] isItemNotified: user_regularle2hg40203@test-domain.com:message:received:content_wgmzk80208 :: false

2022-06-25 22:33:11 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_wgmzk80208 :: true