Generated by TestNG with ReportNG at 22:22 PDT on Monday 17 October 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.812s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.584s
2022-10-17 22:36:43 |

2022-10-17 22:36:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-10-17 22:36:43 | ------------------------------------

2022-10-17 22:36:43 | [Mutex] isItemNotified: node_xhkdva0204:exists :: false

2022-10-17 22:36:43 | [Mutex] waiting for: [node_xhkdva0204:create_node]

2022-10-17 22:36:44 | [Mutex] received everything.

2022-10-17 22:36:44 | [Mutex] isItemNotified: node_xhkdva0204:create_node:success :: true

2022-10-17 22:36:44 | [Mutex] waiting for: [node_xhkdva0204:subscribe_node]

2022-10-17 22:36:44 | [Mutex] received everything.

2022-10-17 22:36:44 | [Mutex] isItemNotified: node_xhkdva0204:subscribe_node:success :: true

2022-10-17 22:36:44 |


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


2022-10-17 22:36:44 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-10-17 22:36:44 | command: <data><node>node_xhkdva0204</node><entry><content>content_3h71u0205</content></entry></data>

2022-10-17 22:36:44 | target: http://localhost:8088

2022-10-17 22:36:44 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false]

2022-10-17 22:36:44 | entity: <data><node>node_xhkdva0204</node><entry><content>content_3h71u0205</content></entry></data>

2022-10-17 22:36:44 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 18 Oct 2022 05:36:44 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-10-17 22:36:44 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>6caede13-ef66-44fe-a354-1a422afbaca9</value></item-id></result>

2022-10-17 22:36:44 | contains: true

2022-10-17 22:36:44 | [Mutex] received everything.

2022-10-17 22:36:44 | [Mutex] isItemNotified: user_regularmibc570203@test-domain.com:message:received:content_3h71u0205 :: true

2022-10-17 22:36:44 |


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


2022-10-17 22:36:44 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-10-17 22:36:44 | command: <data><node>node_xhkdva0204</node><expire-at>2022-10-18T05:36:39Z</expire-at><entry><content>content_3mmi50206</content></entry></data>

2022-10-17 22:36:44 | target: http://localhost:8088

2022-10-17 22:36:44 | entity: [Content-Type: application/xml,Content-Length: 135,Chunked: false]

2022-10-17 22:36:44 | entity: <data><node>node_xhkdva0204</node><expire-at>2022-10-18T05:36:39Z</expire-at><entry><content>content_3mmi50206</content></entry></data>

2022-10-17 22:36:44 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 18 Oct 2022 05:36:44 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-10-17 22:36:44 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>428793d8-f297-4bf9-9781-73e19238ba1e</value></item-id></result>

2022-10-17 22:36:44 | contains: true

2022-10-17 22:36:44 | [Mutex] waiting for: [user_regularmibc570203@test-domain.com:message:received:content_3mmi50206]

2022-10-17 22:36:59 | [Mutex] timeout. Not received [user_regularmibc570203@test-domain.com:message:received:content_3mmi50206]

2022-10-17 22:36:59 | [Mutex] isItemNotified: user_regularmibc570203@test-domain.com:message:received:content_3mmi50206 :: false

2022-10-17 22:36:59 |


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


2022-10-17 22:36:59 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-10-17 22:36:59 | command: <data><node>node_xhkdva0204</node><entry><content>content_3n0s7f0207</content></entry></data>

2022-10-17 22:36:59 | target: http://localhost:8088

2022-10-17 22:36:59 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-10-17 22:36:59 | entity: <data><node>node_xhkdva0204</node><entry><content>content_3n0s7f0207</content></entry></data>

2022-10-17 22:36:59 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 18 Oct 2022 05:36:59 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-10-17 22:36:59 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>5859d38e-ada5-4f09-adb0-d21872ab9959</value></item-id></result>

2022-10-17 22:36:59 | contains: true

2022-10-17 22:37:04 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-10-17 22:37:04 | [Mutex] waiting for: [user_regularmibc570203@test-domain.com:message:received:content_3n0s7f0207]

2022-10-17 22:37:04 | [Mutex] received everything.

2022-10-17 22:37:04 | [Mutex] isItemNotified: user_regularmibc570203@test-domain.com:message:received:content_3n0s7f0207 :: true

2022-10-17 22:37:04 |


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


2022-10-17 22:37:04 | [Mutex] received everything.

2022-10-17 22:37:04 | [Mutex] isItemNotified: node_xhkdva0204:subscribe_node:success :: true

2022-10-17 22:37:04 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-10-17 22:37:04 | command: <data><node>node_xhkdva0204</node><expire-at>2022-10-18T05:37:09Z</expire-at><entry><content>content_fao4610208</content></entry></data>

2022-10-17 22:37:04 | target: http://localhost:8088

2022-10-17 22:37:04 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-10-17 22:37:04 | entity: <data><node>node_xhkdva0204</node><expire-at>2022-10-18T05:37:09Z</expire-at><entry><content>content_fao4610208</content></entry></data>

2022-10-17 22:37:04 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 18 Oct 2022 05:37:04 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-10-17 22:37:04 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>4f7927ff-9b45-4e89-bf47-f2861e45dd12</value></item-id></result>

2022-10-17 22:37:04 | contains: true

2022-10-17 22:37:12 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

2022-10-17 22:37:12 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-10-17 22:37:12 | [Mutex] waiting for: [user_regularmibc570203@test-domain.com:message:received:content_fao4610208]

2022-10-17 22:37:12 | [Mutex] waiting for: [user_regularmibc570203@test-domain.com:message:received:content_fao4610208]

2022-10-17 22:37:12 | [Mutex] waiting for: [user_regularmibc570203@test-domain.com:message:received:content_fao4610208]

2022-10-17 22:37:27 | [Mutex] timeout. Not received [user_regularmibc570203@test-domain.com:message:received:content_fao4610208]

2022-10-17 22:37:27 | [Mutex] received everything.

2022-10-17 22:37:27 | [Mutex] isItemNotified: user_regularmibc570203@test-domain.com:message:received:content_fao4610208 :: false

2022-10-17 22:37:27 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_fao4610208 :: true