Generated by TestNG with ReportNG at 22:52 PDT on Sunday 18 September 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.521s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.600s
2022-09-18 23:06:20 |

2022-09-18 23:06:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-09-18 23:06:20 | ------------------------------------

2022-09-18 23:06:20 | [Mutex] isItemNotified: node_12xdte0204:exists :: false

2022-09-18 23:06:20 | [Mutex] waiting for: [node_12xdte0204:create_node]

2022-09-18 23:06:20 | [Mutex] received everything.

2022-09-18 23:06:20 | [Mutex] isItemNotified: node_12xdte0204:create_node:success :: true

2022-09-18 23:06:20 | [Mutex] waiting for: [node_12xdte0204:subscribe_node]

2022-09-18 23:06:20 | [Mutex] waiting for: [node_12xdte0204:subscribe_node]

2022-09-18 23:06:20 | [Mutex] received everything.

2022-09-18 23:06:20 | [Mutex] isItemNotified: node_12xdte0204:subscribe_node:success :: true

2022-09-18 23:06:20 |


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


2022-09-18 23:06:20 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-09-18 23:06:20 | command: <data><node>node_12xdte0204</node><entry><content>content_yit2qg0205</content></entry></data>

2022-09-18 23:06:20 | target: http://localhost:8088

2022-09-18 23:06:20 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-09-18 23:06:20 | entity: <data><node>node_12xdte0204</node><entry><content>content_yit2qg0205</content></entry></data>

2022-09-18 23:06:20 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 19 Sep 2022 06:06:20 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-09-18 23:06:20 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>33a6915a-7887-4025-9b87-3a6a43a22bd4</value></item-id></result>

2022-09-18 23:06:20 | contains: true

2022-09-18 23:06:20 | [Mutex] received everything.

2022-09-18 23:06:20 | [Mutex] isItemNotified: user_regularjtqh2g0203@test-domain.com:message:received:content_yit2qg0205 :: true

2022-09-18 23:06:20 |


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


2022-09-18 23:06:20 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-09-18 23:06:20 | command: <data><node>node_12xdte0204</node><expire-at>2022-09-19T06:06:15Z</expire-at><entry><content>content_vfc7mm0206</content></entry></data>

2022-09-18 23:06:20 | target: http://localhost:8088

2022-09-18 23:06:20 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-09-18 23:06:20 | entity: <data><node>node_12xdte0204</node><expire-at>2022-09-19T06:06:15Z</expire-at><entry><content>content_vfc7mm0206</content></entry></data>

2022-09-18 23:06:20 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 19 Sep 2022 06:06:20 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-09-18 23:06:20 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>2db2a6b4-27e0-43ba-b2c2-861316d75408</value></item-id></result>

2022-09-18 23:06:20 | contains: true

2022-09-18 23:06:20 | [Mutex] waiting for: [user_regularjtqh2g0203@test-domain.com:message:received:content_vfc7mm0206]

2022-09-18 23:06:35 | [Mutex] timeout. Not received [user_regularjtqh2g0203@test-domain.com:message:received:content_vfc7mm0206]

2022-09-18 23:06:35 | [Mutex] isItemNotified: user_regularjtqh2g0203@test-domain.com:message:received:content_vfc7mm0206 :: false

2022-09-18 23:06:35 |


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


2022-09-18 23:06:35 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-09-18 23:06:35 | command: <data><node>node_12xdte0204</node><entry><content>content_s7v95g0207</content></entry></data>

2022-09-18 23:06:35 | target: http://localhost:8088

2022-09-18 23:06:35 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-09-18 23:06:35 | entity: <data><node>node_12xdte0204</node><entry><content>content_s7v95g0207</content></entry></data>

2022-09-18 23:06:35 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 19 Sep 2022 06:06:35 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-09-18 23:06:35 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>432e82d1-baf7-4b1b-9335-76bb58b94b54</value></item-id></result>

2022-09-18 23:06:35 | contains: true

2022-09-18 23:06:40 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-09-18 23:06:40 | [Mutex] waiting for: [user_regularjtqh2g0203@test-domain.com:message:received:content_s7v95g0207]

2022-09-18 23:06:40 | [Mutex] waiting for: [user_regularjtqh2g0203@test-domain.com:message:received:content_s7v95g0207]

2022-09-18 23:06:40 | [Mutex] received everything.

2022-09-18 23:06:40 | [Mutex] isItemNotified: user_regularjtqh2g0203@test-domain.com:message:received:content_s7v95g0207 :: true

2022-09-18 23:06:40 |


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


2022-09-18 23:06:40 | [Mutex] received everything.

2022-09-18 23:06:40 | [Mutex] isItemNotified: node_12xdte0204:subscribe_node:success :: true

2022-09-18 23:06:40 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-09-18 23:06:40 | command: <data><node>node_12xdte0204</node><expire-at>2022-09-19T06:06:45Z</expire-at><entry><content>content_rbj2g00208</content></entry></data>

2022-09-18 23:06:40 | target: http://localhost:8088

2022-09-18 23:06:40 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-09-18 23:06:40 | entity: <data><node>node_12xdte0204</node><expire-at>2022-09-19T06:06:45Z</expire-at><entry><content>content_rbj2g00208</content></entry></data>

2022-09-18 23:06:40 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 19 Sep 2022 06:06:40 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-09-18 23:06:40 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>79026678-a8de-41f1-b60b-d10c8a3b49f1</value></item-id></result>

2022-09-18 23:06:40 | contains: true

2022-09-18 23:06:48 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-09-18 23:06:49 | [Mutex] waiting for: [user_regularjtqh2g0203@test-domain.com:message:received:content_rbj2g00208]

2022-09-18 23:06:49 | [Mutex] waiting for: [user_regularjtqh2g0203@test-domain.com:message:received:content_rbj2g00208]

2022-09-18 23:07:04 | [Mutex] timeout. Not received [user_regularjtqh2g0203@test-domain.com:message:received:content_rbj2g00208]

2022-09-18 23:07:04 | [Mutex] received everything.

2022-09-18 23:07:04 | [Mutex] isItemNotified: user_regularjtqh2g0203@test-domain.com:message:received:content_rbj2g00208 :: false

2022-09-18 23:07:04 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_rbj2g00208 :: true