Generated by TestNG with ReportNG at 22:19 PDT on Monday 15 August 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.980s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.748s
2022-08-15 22:33:19 |

2022-08-15 22:33:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-08-15 22:33:19 | ------------------------------------

2022-08-15 22:33:19 | [Mutex] isItemNotified: node_mvfa520204:exists :: false

2022-08-15 22:33:19 | [Mutex] waiting for: [node_mvfa520204:create_node]

2022-08-15 22:33:19 | [Mutex] received everything.

2022-08-15 22:33:19 | [Mutex] isItemNotified: node_mvfa520204:create_node:success :: true

2022-08-15 22:33:19 | [Mutex] waiting for: [node_mvfa520204:subscribe_node]

2022-08-15 22:33:19 | [Mutex] received everything.

2022-08-15 22:33:19 | [Mutex] isItemNotified: node_mvfa520204:subscribe_node:success :: true

2022-08-15 22:33:19 |


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


2022-08-15 22:33:19 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-15 22:33:19 | command: <data><node>node_mvfa520204</node><entry><content>content_d00j5f0205</content></entry></data>

2022-08-15 22:33:19 | target: http://localhost:8088

2022-08-15 22:33:19 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-08-15 22:33:19 | entity: <data><node>node_mvfa520204</node><entry><content>content_d00j5f0205</content></entry></data>

2022-08-15 22:33:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 16 Aug 2022 05:33:19 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-15 22:33:19 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>2cb29f76-220f-459a-941c-97661b27a3ea</value></item-id></result>

2022-08-15 22:33:19 | contains: true

2022-08-15 22:33:19 | [Mutex] waiting for: [user_regularsm63n40203@test-domain.com:message:received:content_d00j5f0205]

2022-08-15 22:33:19 | [Mutex] received everything.

2022-08-15 22:33:19 | [Mutex] isItemNotified: user_regularsm63n40203@test-domain.com:message:received:content_d00j5f0205 :: true

2022-08-15 22:33:19 |


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


2022-08-15 22:33:19 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-15 22:33:19 | command: <data><node>node_mvfa520204</node><expire-at>2022-08-16T05:33:14Z</expire-at><entry><content>content_bpkpkp0206</content></entry></data>

2022-08-15 22:33:19 | target: http://localhost:8088

2022-08-15 22:33:19 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-08-15 22:33:19 | entity: <data><node>node_mvfa520204</node><expire-at>2022-08-16T05:33:14Z</expire-at><entry><content>content_bpkpkp0206</content></entry></data>

2022-08-15 22:33:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 16 Aug 2022 05:33:19 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-15 22:33:19 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>0ccb6685-33eb-4bed-8f92-2ce23b653335</value></item-id></result>

2022-08-15 22:33:19 | contains: true

2022-08-15 22:33:19 | [Mutex] waiting for: [user_regularsm63n40203@test-domain.com:message:received:content_bpkpkp0206]

2022-08-15 22:33:34 | [Mutex] timeout. Not received [user_regularsm63n40203@test-domain.com:message:received:content_bpkpkp0206]

2022-08-15 22:33:34 | [Mutex] isItemNotified: user_regularsm63n40203@test-domain.com:message:received:content_bpkpkp0206 :: false

2022-08-15 22:33:34 |


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


2022-08-15 22:33:34 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-15 22:33:34 | command: <data><node>node_mvfa520204</node><entry><content>content_diqbel0207</content></entry></data>

2022-08-15 22:33:34 | target: http://localhost:8088

2022-08-15 22:33:34 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-08-15 22:33:34 | entity: <data><node>node_mvfa520204</node><entry><content>content_diqbel0207</content></entry></data>

2022-08-15 22:33:34 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 16 Aug 2022 05:33:34 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-15 22:33:34 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>d284e625-f1e5-4f5c-8b47-d4efed503267</value></item-id></result>

2022-08-15 22:33:34 | contains: true

2022-08-15 22:33:39 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-08-15 22:33:39 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222

2022-08-15 22:33:39 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-08-15 22:33:39 | [Mutex] waiting for: [user_regularsm63n40203@test-domain.com:message:received:content_diqbel0207]

2022-08-15 22:33:39 | [Mutex] waiting for: [user_regularsm63n40203@test-domain.com:message:received:content_diqbel0207]

2022-08-15 22:33:39 | [Mutex] received everything.

2022-08-15 22:33:39 | [Mutex] isItemNotified: user_regularsm63n40203@test-domain.com:message:received:content_diqbel0207 :: true

2022-08-15 22:33:39 |


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


2022-08-15 22:33:39 | [Mutex] received everything.

2022-08-15 22:33:39 | [Mutex] isItemNotified: node_mvfa520204:subscribe_node:success :: true

2022-08-15 22:33:39 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-15 22:33:39 | command: <data><node>node_mvfa520204</node><expire-at>2022-08-16T05:33:44Z</expire-at><entry><content>content_4yas5t0208</content></entry></data>

2022-08-15 22:33:39 | target: http://localhost:8088

2022-08-15 22:33:39 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-08-15 22:33:39 | entity: <data><node>node_mvfa520204</node><expire-at>2022-08-16T05:33:44Z</expire-at><entry><content>content_4yas5t0208</content></entry></data>

2022-08-15 22:33:39 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 16 Aug 2022 05:33:39 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-15 22:33:39 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>e0e481c8-8849-4acf-9084-48c34c77a334</value></item-id></result>

2022-08-15 22:33:39 | contains: true

2022-08-15 22:33:47 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-08-15 22:33:47 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222

2022-08-15 22:33:47 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-08-15 22:33:48 | [Mutex] waiting for: [user_regularsm63n40203@test-domain.com:message:received:content_4yas5t0208]

2022-08-15 22:33:48 | [Mutex] waiting for: [user_regularsm63n40203@test-domain.com:message:received:content_4yas5t0208]

2022-08-15 22:33:48 | [Mutex] waiting for: [user_regularsm63n40203@test-domain.com:message:received:content_4yas5t0208]

2022-08-15 22:34:03 | [Mutex] timeout. Not received [user_regularsm63n40203@test-domain.com:message:received:content_4yas5t0208]

2022-08-15 22:34:03 | [Mutex] received everything.

2022-08-15 22:34:03 | [Mutex] isItemNotified: user_regularsm63n40203@test-domain.com:message:received:content_4yas5t0208 :: false

2022-08-15 22:34:03 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_4yas5t0208 :: true