Generated by TestNG with ReportNG at 03:55 PST on Monday 26 December 2022
root@f9c07ffec79b / 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.682s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.609s
2022-12-26 04:11:27 |

2022-12-26 04:11:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-12-26 04:11:27 | ------------------------------------

2022-12-26 04:11:27 | [Mutex] isItemNotified: node_ic984l0204:exists :: false

2022-12-26 04:11:27 | [Mutex] waiting for: [node_ic984l0204:create_node]

2022-12-26 04:11:27 | [Mutex] waiting for: [node_ic984l0204:create_node]

2022-12-26 04:11:27 | [Mutex] received everything.

2022-12-26 04:11:27 | [Mutex] isItemNotified: node_ic984l0204:create_node:success :: true

2022-12-26 04:11:27 | [Mutex] waiting for: [node_ic984l0204:subscribe_node]

2022-12-26 04:11:27 | [Mutex] waiting for: [node_ic984l0204:subscribe_node]

2022-12-26 04:11:27 | [Mutex] received everything.

2022-12-26 04:11:27 | [Mutex] isItemNotified: node_ic984l0204:subscribe_node:success :: true

2022-12-26 04:11:27 |


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


2022-12-26 04:11:27 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-12-26 04:11:27 | command: <data><node>node_ic984l0204</node><entry><content>content_fiyxh00205</content></entry></data>

2022-12-26 04:11:27 | target: http://localhost:8088

2022-12-26 04:11:27 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-12-26 04:11:27 | entity: <data><node>node_ic984l0204</node><entry><content>content_fiyxh00205</content></entry></data>

2022-12-26 04:11:27 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 26 Dec 2022 12:11:27 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-12-26 04:11:27 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>92ff9caa-7c69-44ff-a436-d5084160c274</value></item-id></result>

2022-12-26 04:11:27 | contains: true

2022-12-26 04:11:27 | [Mutex] received everything.

2022-12-26 04:11:27 | [Mutex] isItemNotified: user_regularbs071a0203@test-domain.com:message:received:content_fiyxh00205 :: true

2022-12-26 04:11:27 |


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


2022-12-26 04:11:27 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-12-26 04:11:27 | command: <data><node>node_ic984l0204</node><expire-at>2022-12-26T12:11:22Z</expire-at><entry><content>content_4o72m00206</content></entry></data>

2022-12-26 04:11:27 | target: http://localhost:8088

2022-12-26 04:11:27 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-12-26 04:11:27 | entity: <data><node>node_ic984l0204</node><expire-at>2022-12-26T12:11:22Z</expire-at><entry><content>content_4o72m00206</content></entry></data>

2022-12-26 04:11:27 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 26 Dec 2022 12:11:27 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-12-26 04:11:27 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>24e8f3f8-9dd0-4812-b1c4-eb827b46e5f1</value></item-id></result>

2022-12-26 04:11:27 | contains: true

2022-12-26 04:11:27 | [Mutex] waiting for: [user_regularbs071a0203@test-domain.com:message:received:content_4o72m00206]

2022-12-26 04:11:42 | [Mutex] timeout. Not received [user_regularbs071a0203@test-domain.com:message:received:content_4o72m00206]

2022-12-26 04:11:42 | [Mutex] isItemNotified: user_regularbs071a0203@test-domain.com:message:received:content_4o72m00206 :: false

2022-12-26 04:11:42 |


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


2022-12-26 04:11:42 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-12-26 04:11:42 | command: <data><node>node_ic984l0204</node><entry><content>content_4yy19l0207</content></entry></data>

2022-12-26 04:11:42 | target: http://localhost:8088

2022-12-26 04:11:42 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-12-26 04:11:42 | entity: <data><node>node_ic984l0204</node><entry><content>content_4yy19l0207</content></entry></data>

2022-12-26 04:11:42 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 26 Dec 2022 12:11:42 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-12-26 04:11:42 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>e73f2bd6-07f1-4eea-90b8-3c4c6206b3dd</value></item-id></result>

2022-12-26 04:11:42 | contains: true

2022-12-26 04:11:47 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-12-26 04:11:47 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222

2022-12-26 04:11:47 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-12-26 04:11:48 | [Mutex] waiting for: [user_regularbs071a0203@test-domain.com:message:received:content_4yy19l0207]

2022-12-26 04:11:48 | [Mutex] received everything.

2022-12-26 04:11:48 | [Mutex] isItemNotified: user_regularbs071a0203@test-domain.com:message:received:content_4yy19l0207 :: true

2022-12-26 04:11:48 |


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


2022-12-26 04:11:48 | [Mutex] received everything.

2022-12-26 04:11:48 | [Mutex] isItemNotified: node_ic984l0204:subscribe_node:success :: true

2022-12-26 04:11:48 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-12-26 04:11:48 | command: <data><node>node_ic984l0204</node><expire-at>2022-12-26T12:11:53Z</expire-at><entry><content>content_j5iqdl0208</content></entry></data>

2022-12-26 04:11:48 | target: http://localhost:8088

2022-12-26 04:11:48 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-12-26 04:11:48 | entity: <data><node>node_ic984l0204</node><expire-at>2022-12-26T12:11:53Z</expire-at><entry><content>content_j5iqdl0208</content></entry></data>

2022-12-26 04:11:48 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 26 Dec 2022 12:11:48 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-12-26 04:11:48 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>98148f82-a3c0-4ca4-9d2a-05a5389100ea</value></item-id></result>

2022-12-26 04:11:48 | contains: true

2022-12-26 04:11:56 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-12-26 04:11:56 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222

2022-12-26 04:11:56 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-12-26 04:11:56 | [Mutex] waiting for: [user_regularbs071a0203@test-domain.com:message:received:content_j5iqdl0208]

2022-12-26 04:11:56 | [Mutex] waiting for: [user_regularbs071a0203@test-domain.com:message:received:content_j5iqdl0208]

2022-12-26 04:11:56 | [Mutex] waiting for: [user_regularbs071a0203@test-domain.com:message:received:content_j5iqdl0208]

2022-12-26 04:12:11 | [Mutex] timeout. Not received [user_regularbs071a0203@test-domain.com:message:received:content_j5iqdl0208]

2022-12-26 04:12:11 | [Mutex] received everything.

2022-12-26 04:12:11 | [Mutex] isItemNotified: user_regularbs071a0203@test-domain.com:message:received:content_j5iqdl0208 :: false

2022-12-26 04:12:11 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_j5iqdl0208 :: true