Generated by TestNG with ReportNG at 23:02 PDT on Friday 10 June 2022
root@21fb2cc9076b / Java 17.0.2 (Private Build) / Linux 4.14.186-146.268.amzn2.x86_64 (amd64)

REST: Item publication on PubSub node with message expiration using REST API - #2959

Suites · Log Output

Test duration : 44.662s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.545s
2022-06-10 23:18:00 |

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

2022-06-10 23:18:00 | ------------------------------------

2022-06-10 23:18:00 | [Mutex] isItemNotified: node_vuza7z0204:exists :: false

2022-06-10 23:18:00 | [Mutex] waiting for: [node_vuza7z0204:create_node]

2022-06-10 23:18:00 | [Mutex] received everything.

2022-06-10 23:18:00 | [Mutex] isItemNotified: node_vuza7z0204:create_node:success :: true

2022-06-10 23:18:00 | [Mutex] waiting for: [node_vuza7z0204:subscribe_node]

2022-06-10 23:18:00 | [Mutex] waiting for: [node_vuza7z0204:subscribe_node]

2022-06-10 23:18:00 | [Mutex] received everything.

2022-06-10 23:18:00 | [Mutex] isItemNotified: node_vuza7z0204:subscribe_node:success :: true

2022-06-10 23:18:00 |


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


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

2022-06-10 23:18:00 | command: <data><node>node_vuza7z0204</node><entry><content>content_fgxz00205</content></entry></data>

2022-06-10 23:18:00 | target: http://localhost:8088

2022-06-10 23:18:00 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false]

2022-06-10 23:18:00 | entity: <data><node>node_vuza7z0204</node><entry><content>content_fgxz00205</content></entry></data>

2022-06-10 23:18:00 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 11 Jun 2022 06:18:00 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-06-10 23:18:00 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>b824afe4-00e0-45e2-a429-38320e95b0db</value></item-id></result>

2022-06-10 23:18:00 | contains: true

2022-06-10 23:18:00 | [Mutex] received everything.

2022-06-10 23:18:00 | [Mutex] isItemNotified: user_regularpi94xr0203@test-domain.com:message:received:content_fgxz00205 :: true

2022-06-10 23:18:00 |


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


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

2022-06-10 23:18:00 | command: <data><node>node_vuza7z0204</node><expire-at>2022-06-11T06:17:55Z</expire-at><entry><content>content_820x7t0206</content></entry></data>

2022-06-10 23:18:00 | target: http://localhost:8088

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

2022-06-10 23:18:00 | entity: <data><node>node_vuza7z0204</node><expire-at>2022-06-11T06:17:55Z</expire-at><entry><content>content_820x7t0206</content></entry></data>

2022-06-10 23:18:00 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 11 Jun 2022 06:18:00 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-06-10 23:18:00 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>2c3ed7c3-983c-4214-ad7e-a1338f8f73fd</value></item-id></result>

2022-06-10 23:18:00 | contains: true

2022-06-10 23:18:00 | [Mutex] waiting for: [user_regularpi94xr0203@test-domain.com:message:received:content_820x7t0206]

2022-06-10 23:18:15 | [Mutex] timeout. Not received [user_regularpi94xr0203@test-domain.com:message:received:content_820x7t0206]

2022-06-10 23:18:15 | [Mutex] isItemNotified: user_regularpi94xr0203@test-domain.com:message:received:content_820x7t0206 :: false

2022-06-10 23:18:15 |


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


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

2022-06-10 23:18:15 | command: <data><node>node_vuza7z0204</node><entry><content>content_hh6ala0207</content></entry></data>

2022-06-10 23:18:15 | target: http://localhost:8088

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

2022-06-10 23:18:15 | entity: <data><node>node_vuza7z0204</node><entry><content>content_hh6ala0207</content></entry></data>

2022-06-10 23:18:15 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 11 Jun 2022 06:18:15 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-06-10 23:18:15 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>41c7b305-ad08-4c2c-8e25-cee88ce9652c</value></item-id></result>

2022-06-10 23:18:15 | contains: true

2022-06-10 23:18:20 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-06-10 23:18:21 | [Mutex] waiting for: [user_regularpi94xr0203@test-domain.com:message:received:content_hh6ala0207]

2022-06-10 23:18:21 | [Mutex] received everything.

2022-06-10 23:18:21 | [Mutex] isItemNotified: user_regularpi94xr0203@test-domain.com:message:received:content_hh6ala0207 :: true

2022-06-10 23:18:21 |


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


2022-06-10 23:18:21 | [Mutex] received everything.

2022-06-10 23:18:21 | [Mutex] isItemNotified: node_vuza7z0204:subscribe_node:success :: true

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

2022-06-10 23:18:21 | command: <data><node>node_vuza7z0204</node><expire-at>2022-06-11T06:18:26Z</expire-at><entry><content>content_p2czsk0208</content></entry></data>

2022-06-10 23:18:21 | target: http://localhost:8088

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

2022-06-10 23:18:21 | entity: <data><node>node_vuza7z0204</node><expire-at>2022-06-11T06:18:26Z</expire-at><entry><content>content_p2czsk0208</content></entry></data>

2022-06-10 23:18:21 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 11 Jun 2022 06:18:21 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-06-10 23:18:21 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>74cda018-ec8d-4aaf-9bf8-a8f17e838987</value></item-id></result>

2022-06-10 23:18:21 | contains: true

2022-06-10 23:18:29 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-06-10 23:18:29 | [Mutex] waiting for: [user_regularpi94xr0203@test-domain.com:message:received:content_p2czsk0208]

2022-06-10 23:18:44 | [Mutex] timeout. Not received [user_regularpi94xr0203@test-domain.com:message:received:content_p2czsk0208]

2022-06-10 23:18:44 | [Mutex] received everything.

2022-06-10 23:18:44 | [Mutex] isItemNotified: user_regularpi94xr0203@test-domain.com:message:received:content_p2czsk0208 :: false

2022-06-10 23:18:44 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_p2czsk0208 :: true