top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration

Facebook Login
Site Registration

What is Cookie Testing and can someone shares test cases for Website Cookie Testing?

+6 votes
What is Cookie Testing and can someone shares test cases for Website Cookie Testing?
posted Sep 9, 2015 by Vrije Mani Upadhyay

Looking for an answer?  Promote on:
Facebook Share Button Twitter Share Button LinkedIn Share Button

Similar Questions
+1 vote

Can someone help me to build Failure Test case for these Functions..

public int sumFromTo(int[] arr, int from, int to) { // 1 Case
        if (arr == null || arr.length == 0 || to > arr.length - 1) {
            throw new IllegalArgumentException();
        int sum = 0;
        for (int i = from; i <= to; i++) {
            sum += arr[i];
        return sum;

    // Second Function
    public String replaceCharacter(String word, char oldchar, char newchar) {
        if (word == null) {
            throw new IllegalArgumentException(); // 2 cases
        int i = 0;
        String s = new String();
        do {
            if (word.toLowerCase().charAt(i) == oldchar) {
                s += newchar;
            } else {
                s += word.charAt(i);
        } while (i < word.length());
        return s;

    // Third Function
    public boolean isPrime(int num) { // 3 cases
        for (int i = 2; i < 10; i++) {
            if (num % i == 0 && i != num) {
                return false;
        return true;
+3 votes

I'm very new to freediameter. But I'm having some knowledge in freeradius. I believe that diameter is also similar like radius with some additional behaviors.

I have downloaded freediameter and installed properly. But I stuck after that. In radius we can have radtest option to test the basic authentication. But here I don't know how to test the basic authentications to authenticate the user.

When I surf on that, I have found like we need to include DiamEAP extensions also to verify the authentication
And came to know we need to configure mysql since it doesn't have flat file support like radius.

So I start to install mysql also. I have seen the testbed for EAP in TBEAP link. Again I confused with the setup. Is there any simple technique to test the AAA in freediameter. I'll explain my project needs below. Kindly help me how can I proceed with that.

  • I need to implement the authenticate the port MAC (during state change) using freeDiameter protocol.
  • I'll use SDN setup for that, using opendaylight controller. Once i get the port notification from the switch i'll send the username , password info to freediameter client. with that user name and password diameter client needs to send the Access-request packet to freediameter server. The server should validate those info's and return back with Access-Accept/Access-reject messages. Using that info i'll take decision to enable the swicth port or not.
    (I explained the terms in radius, sorry not sure with corresponding terms in freediameter).

For this what conf file I need to edit? What information it should have. How to test the client and server with users information. Please give some clear picture about the setup for my need.

My setup details.
diamEAP - 1.0.0
freediameter - 1.1.4
Ubuntu - 12.04

Contact Us
+91 9880187415
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Karnataka INDIA.