How to compile and run litmus (on debian) for WebDAV tests

Tutorials on ownCloud administration
Forum rules
The forums were migrated over to https://central.owncloud.org which is based on the forum software Discourse. The forums here is put into read-only mode starting from today.

More background information about this move and the reasoning behind it is available in this blogpost:

https://daniel.molkentin.net/2016/07/20 ... d-central/
RealRancor
ownCloud master
Posts: 17381
Joined: Sat May 26, 2012 3:00 pm
ownCloud version: 9.0.2
Webserver: nginx
Database: MySQL
OS: Linux
PHP version: 7.0.x

How to compile and run litmus (on debian) for WebDAV tests

Postby RealRancor » Sat May 03, 2014 3:50 pm

Hi,

litmus is a WebDAV test suite to test your webserver for all needed WebDAV methods which could help you debugging WebDAV problems like described in this FAQ: viewtopic.php?f=17&t=7536

The test suite is available here:

http://www.webdav.org/neon/litmus/

but is fairly old (latest release 9 December 2011) and needs some steps to get it to work on Debian when testing SSL enabled webservers:

1. Download sources

Download and extract the sources from the link above to /usr/src

2. Install dependencies

The "libneon27-gnutls-dev" needs to be installed which contains a fixed libneon27 packages instead of the shipped one in litmus

3. Edit configure script

The /usr/src/litmus-0.13/configure scripts needs to be edited to be able to compile litmus against the external libneon27 lib. Open up the file in your favorite texteditor and replace all:

Code: Select all

25 26 27 28 29


with:

Code: Select all

25 26 27 28 29 30


4. Configure and compile litmus

Change to the folder /usr/src/litmus-0.13 and run the following:

Code: Select all

./configure --with-ssl --with-neon=/usr


Code: Select all

make


and then su / sudo and run:

Code: Select all

make install


5. Run the testsuite against ownCloud

The following command can be used to test your webserver:

Code: Select all

litmus https://example.com/remote.php/webdav username password


Optional you can continue if one test is failing by adding the -k switch to the command above:

Code: Select all

litmus -k https://example.com/remote.php/webdav username password
Last edited by RealRancor on Tue Jan 12, 2016 10:03 am, edited 2 times in total.
*gone*

hschultz1960
Newbie
Posts: 1
Joined: Mon Jun 01, 2015 8:41 pm
ownCloud version: 8.0.2
Webserver: Apache
Database: SQLite
OS: Linux
PHP version: 5.5.9

Re: How to compile and run litmus (on debian) for SSL tests

Postby hschultz1960 » Mon Jun 01, 2015 8:43 pm

Thanks for the excellent writeup on installing Litmus!

fmantov
Newbie
Posts: 9
Joined: Sat May 09, 2015 5:06 am
ownCloud version: 8.0.2
Webserver: Apache
Database: MySQL
OS: Linux
PHP version: 5.5

Re: How to compile and run litmus (on debian) for SSL tests

Postby fmantov » Tue Jun 30, 2015 11:58 pm

:arrow: FANTASTIC TUTORIAL:: thank you so much!!!!


  • Similar Topics
    Replies
    Views
    Last post

Return to “Tutorials”

Who is online

Users browsing this forum: No registered users and 1 guest