Generated by TestNG with ReportNG at 21:49 PST on Monday 16 January 2023
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.698s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.532s
2023-01-16 22:05:21 |

2023-01-16 22:05:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2023-01-16 22:05:21 | ------------------------------------

2023-01-16 22:05:21 | [Mutex] isItemNotified: node_ef4vm70204:exists :: false

2023-01-16 22:05:21 | [Mutex] waiting for: [node_ef4vm70204:create_node]

2023-01-16 22:05:21 | [Mutex] received everything.

2023-01-16 22:05:21 | [Mutex] isItemNotified: node_ef4vm70204:create_node:success :: true

2023-01-16 22:05:21 | [Mutex] waiting for: [node_ef4vm70204:subscribe_node]

2023-01-16 22:05:21 | [Mutex] waiting for: [node_ef4vm70204:subscribe_node]

2023-01-16 22:05:21 | [Mutex] received everything.

2023-01-16 22:05:21 | [Mutex] isItemNotified: node_ef4vm70204:subscribe_node:success :: true

2023-01-16 22:05:21 |


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


2023-01-16 22:05:21 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-01-16 22:05:21 | command: <data><node>node_ef4vm70204</node><entry><content>content_pfjc0205</content></entry></data>

2023-01-16 22:05:21 | target: http://localhost:8088

2023-01-16 22:05:21 | entity: [Content-Type: application/xml,Content-Length: 91,Chunked: false]

2023-01-16 22:05:21 | entity: <data><node>node_ef4vm70204</node><entry><content>content_pfjc0205</content></entry></data>

2023-01-16 22:05:21 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 17 Jan 2023 06:05:21 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-01-16 22:05:21 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>cc455849-a35e-4c67-a86c-a7fcfc517647</value></item-id></result>

2023-01-16 22:05:21 | contains: true

2023-01-16 22:05:21 | [Mutex] received everything.

2023-01-16 22:05:21 | [Mutex] isItemNotified: user_regularaq599z0203@test-domain.com:message:received:content_pfjc0205 :: true

2023-01-16 22:05:21 |


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


2023-01-16 22:05:21 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-01-16 22:05:21 | command: <data><node>node_ef4vm70204</node><expire-at>2023-01-17T06:05:16Z</expire-at><entry><content>content_5avn010206</content></entry></data>

2023-01-16 22:05:21 | target: http://localhost:8088

2023-01-16 22:05:21 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-01-16 22:05:21 | entity: <data><node>node_ef4vm70204</node><expire-at>2023-01-17T06:05:16Z</expire-at><entry><content>content_5avn010206</content></entry></data>

2023-01-16 22:05:21 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 17 Jan 2023 06:05:21 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-01-16 22:05:21 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d3f8134d-3a62-4855-a1eb-8fdfbf92437e</value></item-id></result>

2023-01-16 22:05:21 | contains: true

2023-01-16 22:05:21 | [Mutex] waiting for: [user_regularaq599z0203@test-domain.com:message:received:content_5avn010206]

2023-01-16 22:05:36 | [Mutex] timeout. Not received [user_regularaq599z0203@test-domain.com:message:received:content_5avn010206]

2023-01-16 22:05:36 | [Mutex] isItemNotified: user_regularaq599z0203@test-domain.com:message:received:content_5avn010206 :: false

2023-01-16 22:05:36 |


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


2023-01-16 22:05:36 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-01-16 22:05:36 | command: <data><node>node_ef4vm70204</node><entry><content>content_o7iueq0207</content></entry></data>

2023-01-16 22:05:36 | target: http://localhost:8088

2023-01-16 22:05:36 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-01-16 22:05:36 | entity: <data><node>node_ef4vm70204</node><entry><content>content_o7iueq0207</content></entry></data>

2023-01-16 22:05:36 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 17 Jan 2023 06:05:36 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-01-16 22:05:36 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>e3a5232d-0ef4-42a4-86cd-a87a45eca9bd</value></item-id></result>

2023-01-16 22:05:36 | contains: true

2023-01-16 22:05:41 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-01-16 22:05:41 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222

2023-01-16 22:05:41 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-01-16 22:05:41 | [Mutex] waiting for: [user_regularaq599z0203@test-domain.com:message:received:content_o7iueq0207]

2023-01-16 22:05:41 | [Mutex] received everything.

2023-01-16 22:05:41 | [Mutex] isItemNotified: user_regularaq599z0203@test-domain.com:message:received:content_o7iueq0207 :: true

2023-01-16 22:05:41 |


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


2023-01-16 22:05:41 | [Mutex] received everything.

2023-01-16 22:05:41 | [Mutex] isItemNotified: node_ef4vm70204:subscribe_node:success :: true

2023-01-16 22:05:41 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-01-16 22:05:41 | command: <data><node>node_ef4vm70204</node><expire-at>2023-01-17T06:05:46Z</expire-at><entry><content>content_rk3e330208</content></entry></data>

2023-01-16 22:05:41 | target: http://localhost:8088

2023-01-16 22:05:41 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-01-16 22:05:41 | entity: <data><node>node_ef4vm70204</node><expire-at>2023-01-17T06:05:46Z</expire-at><entry><content>content_rk3e330208</content></entry></data>

2023-01-16 22:05:41 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 17 Jan 2023 06:05:41 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-01-16 22:05:41 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>61fae21e-3ee4-45ba-b1e5-92bd3428cb7d</value></item-id></result>

2023-01-16 22:05:41 | contains: true

2023-01-16 22:05:49 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-01-16 22:05:49 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222

2023-01-16 22:05:49 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-01-16 22:05:49 | [Mutex] waiting for: [user_regularaq599z0203@test-domain.com:message:received:content_rk3e330208]

2023-01-16 22:06:04 | [Mutex] timeout. Not received [user_regularaq599z0203@test-domain.com:message:received:content_rk3e330208]

2023-01-16 22:06:04 | [Mutex] received everything.

2023-01-16 22:06:04 | [Mutex] isItemNotified: user_regularaq599z0203@test-domain.com:message:received:content_rk3e330208 :: false

2023-01-16 22:06:04 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_rk3e330208 :: true